File tree Expand file tree Collapse file tree 5 files changed +11
-2
lines changed
api-gateway/src/verification/dto
libs/prisma-service/prisma
migrations/20241218132640_added_column_in_proof_webhook Expand file tree Collapse file tree 5 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -72,4 +72,8 @@ export class WebhookPresentationProofDto {
72
72
@ApiPropertyOptional ( )
73
73
@IsOptional ( )
74
74
orgId : string ;
75
+
76
+ @ApiPropertyOptional ( )
77
+ @IsOptional ( )
78
+ errorMessage : string ;
75
79
}
Original file line number Diff line number Diff line change @@ -210,6 +210,7 @@ export interface IWebhookProofPresentation {
210
210
updatedAt : string ;
211
211
isVerified : boolean ;
212
212
contextCorrelationId : string ;
213
+ errorMessage ?: string ;
213
214
}
214
215
215
216
export interface IProofPresentation {
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ export class VerificationRepository {
127
127
let encryptEmailId ;
128
128
let organisationId : string ;
129
129
let schemaId ;
130
-
130
+
131
131
const { proofPresentationPayload, orgId } = payload ;
132
132
133
133
//For Educreds
@@ -161,7 +161,8 @@ export class VerificationRepository {
161
161
isVerified : proofPresentationPayload . isVerified ,
162
162
lastChangedBy : organisationId ,
163
163
connectionId : proofPresentationPayload . connectionId ,
164
- emailId : encryptEmailId
164
+ emailId : encryptEmailId ,
165
+ errorMessage : proofPresentationPayload . errorMessage
165
166
} ,
166
167
create : {
167
168
connectionId : proofPresentationPayload . connectionId ,
Original file line number Diff line number Diff line change
1
+ -- AlterTable
2
+ ALTER TABLE " presentations" ADD COLUMN " errorMessage" VARCHAR ;
Original file line number Diff line number Diff line change @@ -354,6 +354,7 @@ model presentations {
354
354
isVerified Boolean ?
355
355
presentationId String ?
356
356
schemaId String ? @db.VarChar
357
+ errorMessage String ? @db.VarChar
357
358
emailId String ?
358
359
orgId String ? @db.Uuid
359
360
organisation organisation ? @relation (fields : [orgId ] , references : [id ] )
You can’t perform that action at this time.
0 commit comments