Skip to content

Commit

Permalink
fix: set correct NotPermittedToSendMessageToTargetInboxError code
Browse files Browse the repository at this point in the history
  • Loading branch information
kaladivo committed Oct 30, 2024
1 parent 07e6391 commit adb9206
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/rest-api/src/services/contact/contracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ export class NotPermittedToSendMessageToTargetInboxError extends Schema.TaggedEr
'notPermittedToSendMessageToTargetInbox'
)('notPermittedToSendMessageToTargetInbox', {
status: Schema.optionalWith(Schema.Literal(400), {default: () => 400}),
code: Schema.optionalWith(Schema.Literal('100104'), {
default: () => '100104',
code: Schema.optionalWith(Schema.Literal('100102'), {
default: () => '100102',
}),
}) {}

Expand Down

0 comments on commit adb9206

Please sign in to comment.