fix(auth): change status code for updating a subscription setting without a subscription
This commit is contained in:
parent
720d046c00
commit
3417407cbe
2 changed files with 2 additions and 2 deletions
|
@ -168,7 +168,7 @@ describe('UpdateSetting', () => {
|
|||
error: {
|
||||
message: 'User 1-2-3 has no subscription to change a subscription setting.',
|
||||
},
|
||||
statusCode: 401,
|
||||
statusCode: 400,
|
||||
})
|
||||
})
|
||||
|
||||
|
|
|
@ -83,7 +83,7 @@ export class UpdateSetting implements UseCaseInterface {
|
|||
error: {
|
||||
message: `User ${userUuid} has no subscription to change a subscription setting.`,
|
||||
},
|
||||
statusCode: 401,
|
||||
statusCode: 400,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue