Skip to content

Commit

Permalink
[Fix #365] Fix username to uri mapping model contexts
Browse files Browse the repository at this point in the history
  • Loading branch information
kostobog committed Aug 9, 2024
1 parent b914c5a commit a308f26
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/models/eventModel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const ctx = {
},
fhaBasedFailureRate: VocabularyUtils.PREFIX + "fha-based-failure-rate",
editor: VocabularyUtils.PREFIX + "editor",
username: VocabularyUtils.PREFIX + "username",
username: VocabularyUtils.USERNAME,
estimate: VocabularyUtils.PREFIX + "has-estimate",
schematicDesignation: VocabularyUtils.PREFIX + "schematic-designation",
selectedEstimate: VocabularyUtils.PREFIX + "has-selected-estimation",
Expand Down
2 changes: 1 addition & 1 deletion src/models/userModel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import VocabularyUtils from "@utils/VocabularyUtils";
import { AbstractModel, CONTEXT as ABSTRACT_CONTEXT } from "@models/abstractModel";

const ctx = {
username: VocabularyUtils.PREFIX + "username",
username: VocabularyUtils.USERNAME,
password: VocabularyUtils.PREFIX + "password",
};

Expand Down
1 change: 1 addition & 0 deletions src/utils/VocabularyUtils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export default {
PREFIX: _NS_FTA_FMEA,
DC_TERMS: DC_TERMS,
USER: _NS_FOAF + "Person",
USERNAME: _NS_FOAF + "accountName",
COMPONENT: _NS_FTA_FMEA + "component",
MITIGATION: _NS_FTA_FMEA + "mitigation",
FUNCTION: _NS_FTA_FMEA + "function",
Expand Down

0 comments on commit a308f26

Please sign in to comment.