Skip to content

Commit f2746cd

Browse files
committed
chore: minor fixes (#1283)
Signed-off-by: Krishna Waske <[email protected]>
1 parent 45d433c commit f2746cd

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

apps/api-gateway/src/agent-service/dto/agent-service.dto.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ export class AgentSpinupDto extends CreateDidDto {
6262
orgId: string;
6363
}
6464

65-
class W3cIssuerDto {
66-
@ApiProperty()
67-
@IsString()
68-
id: string;
69-
}
65+
// class W3cIssuerDto {
66+
// @ApiProperty()
67+
// @IsString()
68+
// id: string;
69+
// }
7070

7171
class W3cCredentialSubjectDto {
7272
@ApiPropertyOptional()
@@ -91,10 +91,10 @@ export class W3cCredentialDto {
9191
@IsArray()
9292
type: string[];
9393

94-
@ApiProperty({ type: () => W3cIssuerDto })
95-
@ValidateNested()
96-
@Type(() => W3cIssuerDto)
97-
issuer: W3cIssuerDto | string;
94+
// TODO: Add or W3cIssuerDto
95+
@ApiProperty({ type: String, example: 'did:key:z6Mkpz1qHuoMamuHj8YXJNBDu2GrLz3LzinA5t4GiYtYKSv8' })
96+
@IsString()
97+
issuer: string;
9898

9999
@ApiProperty()
100100
@IsISO8601()

0 commit comments

Comments
 (0)