Skip to content
Snippets Groups Projects
Commit 78a45d0f authored by Zdravko Iliev's avatar Zdravko Iliev
Browse files

fix: createdAt should be optional field

parent b070cc95
No related branches found
No related tags found
1 merge request!55fix: createdAt should be optional field
Pipeline #68361 waiting for manual action with stages
in 9 minutes and 34 seconds
......@@ -915,8 +915,7 @@
},
"required": [
"state",
"id",
"createdAt"
"id"
]
},
"CreateSchemaRequestDto": {
......@@ -984,8 +983,7 @@
"name",
"attributes",
"version",
"id",
"createdAt"
"id"
]
},
"IdReqDto": {
......@@ -1027,8 +1025,7 @@
"schemaId",
"issuerId",
"tag",
"id",
"createdAt"
"id"
]
},
"CreateCredentialDefinitionRequestDto": {
......@@ -1133,8 +1130,7 @@
"state",
"credentialRecordType",
"tags",
"id",
"createdAt"
"id"
]
},
"CredentialOfferResponseDto": {
......@@ -1265,8 +1261,7 @@
"role",
"sentTime",
"content",
"id",
"createdAt"
"id"
]
},
"ProofRecordDto": {
......@@ -1307,8 +1302,7 @@
"required": [
"state",
"tags",
"id",
"createdAt"
"id"
]
},
"ProofFormatDataDto": {
......
# OCM ENGINE - AGENT
# OCM ENGINE - AGENT
Agent service is a wrapper around @ocm-engine/askar library.
......
......@@ -6,8 +6,7 @@ export class BaseRecordDto {
id: string;
@IsDateString()
@IsNotEmpty()
createdAt: Date;
createdAt?: Date;
@IsDateString()
updatedAt?: Date;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment