Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ankurdotb committed Oct 9, 2024
1 parent d67f71a commit 4470235
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions src/controllers/api/accreditation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ export class AccreditationController {
return {
success: false,
status: 404,
error: `DID Url ${didUrl} is not found`,
error: `DID URL ${didUrl} is not found`,
};
}

Expand Down Expand Up @@ -616,7 +616,7 @@ export class AccreditationController {
return {
success: false,
status: 404,
error: `DID Url ${didUrl} is not found`,
error: `DID URL ${didUrl} is not found`,
};
}

Expand Down Expand Up @@ -727,7 +727,7 @@ export class AccreditationController {
return {
success: false,
status: 404,
error: `DID Url ${didUrl} is not found`,
error: `DID URL ${didUrl} is not found`,
};
}

Expand Down
2 changes: 1 addition & 1 deletion src/services/api/accreditation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class AccreditationService {
return {
success: false,
status: StatusCodes.NOT_FOUND,
error: `DID Url ${accreditationUrl} is not found`,
error: `DID URL ${accreditationUrl} is not found`,
};
}

Expand Down
4 changes: 2 additions & 2 deletions src/static/swagger-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -554,11 +554,11 @@
]
},
"parentAccreditation": {
"description": "DID Url of the parent Verifiable Accreditation, required for accredit/attest operation.",
"description": "DID URL of the parent Verifiable Accreditation, required for accredit/attest operation.",
"type": "string"
},
"rootAuthorization": {
"description": "DID Url of the root Verifiable Accreditation, required for accredit/attest operation.",
"description": "DID URL of the root Verifiable Accreditation, required for accredit/attest operation.",
"type": "string"
},
"trustFramework": {
Expand Down
4 changes: 2 additions & 2 deletions src/types/swagger-api-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,10 +358,10 @@
* type: string
* example: [https://schema.org/schema.jsonld, https://veramo.io/contexts/profile/v1]
* parentAccreditation:
* description: DID Url of the parent Verifiable Accreditation, required for accredit/attest operation.
* description: DID URL of the parent Verifiable Accreditation, required for accredit/attest operation.
* type: string
* rootAuthorization:
* description: DID Url of the root Verifiable Accreditation, required for accredit/attest operation.
* description: DID URL of the root Verifiable Accreditation, required for accredit/attest operation.
* type: string
* trustFramework:
* description: Name or Type of the Trust Framework, required for authorize operation.
Expand Down

0 comments on commit 4470235

Please sign in to comment.