Skip to content

Commit

Permalink
fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
DaevMithran committed Sep 26, 2024
1 parent 5312682 commit 6d058f8
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/controllers/api/accreditation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import { body, param } from '../validator/index.js';

export class AccreditationController {
public static issueValidator = [
param('did').exists().isString().isDID().bail(),
param('accreditationType').exists().isString().isIn(['authorize', 'accredit', 'attest']).bail(),
body('issuerDid').exists().isString().isDID().bail(),
body('subjectDid').exists().isString().isDID().bail(),
body('schemas').exists().isArray().bail(),
body('schemas.*.url').isURL().bail(),
Expand Down Expand Up @@ -49,12 +49,6 @@ export class AccreditationController {
* description: Generate and publish a verifiable accreditation for a subject DID accrediting schema's as a DID Linked resource.
* operationId: accredit
* parameters:
* - in: path
* name: did
* description: DID identifier of the Accreditor.
* schema:
* type: string
* required: true
* - in: query
* name: type
* description: Select the type of accreditation to be issued.
Expand Down

0 comments on commit 6d058f8

Please sign in to comment.