We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07b784d commit 1db6091Copy full SHA for 1db6091
src/credential/schemas/credntial.schema.ts
@@ -5,7 +5,9 @@ import { IsVcId } from 'src/utils/customDecorator/vc.decorator';
5
6
export type CredentialModel = Credential & Document;
7
8
-@Schema()
+@Schema({
9
+ timestamps: true,
10
+})
11
export class Credential {
12
@IsString()
13
@Prop({ required: true })
src/did/schemas/did.schema.ts
@@ -13,7 +13,9 @@ export enum RegistrationStatus {
COMPLETED = 'COMPLETED',
14
UNREGISTRED = 'UNREGISTRED',
15
}
16
17
18
19
export class Did {
20
@ApiHideProperty()
21
@IsOptional()
0 commit comments