Skip to content

Commit

Permalink
fix: add default infores for apiInforesCurie
Browse files Browse the repository at this point in the history
  • Loading branch information
NeuralFlux committed Aug 16, 2024
1 parent 4e776db commit bbaa0f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/record.ts
Original file line number Diff line number Diff line change
Expand Up @@ -497,9 +497,9 @@ export class Record {

get apiInforesCurie(): string {
if (this.association["x-translator"]) {
return this.association["x-translator"]["infores"] || undefined;
return this.association["x-translator"]["infores"] || "infores:error-not-provided";
}
return undefined;
return "infores:error-not-provided";
}

get metaEdgeSource(): string {
Expand Down

0 comments on commit bbaa0f8

Please sign in to comment.