Skip to content

Commit

Permalink
fix: goal_code is optional
Browse files Browse the repository at this point in the history
Signed-off-by: Artemkaaas <artem.ivanov@dsr-corporation.com>
  • Loading branch information
Artemkaaas committed Aug 4, 2023
1 parent 1b04c35 commit 2666edf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ export type V2OutOfBandInvitationParams = DidCommV2MessageParams

export class V2OutOfBandInvitationBody {
@IsString()
@IsOptional()
@Expose({ name: 'goal_code' })
public goalCode!: V2OutOfBandGoalCode
public goalCode?: V2OutOfBandGoalCode

@IsString()
@IsOptional()
Expand Down

0 comments on commit 2666edf

Please sign in to comment.