Skip to content

Commit

Permalink
update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitiwat-owen committed Nov 14, 2023
1 parent 818ff68 commit 286bea1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/auth/auth.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -432,12 +432,12 @@ export class AuthService implements AuthServiceController {
);
throw new RpcException({
code: status.ALREADY_EXISTS,
message: error.message,
message: 'Token is already used',
});
}
throw new RpcException({
code: status.INTERNAL,
message: error.message,
message: 'Internal server error',
});
}

Expand Down

0 comments on commit 286bea1

Please sign in to comment.