2
1
mirror of https://github.com/Thream/socketio-jwt.git synced 2024-07-06 19:30:11 +02:00

style: fix linting issue

This commit is contained in:
Divlo 2022-04-07 10:14:52 +02:00
parent dbb363747d
commit 9a942c52c5
No known key found for this signature in database
GPG Key ID: 8F9478F220CE65E9

View File

@ -4,7 +4,7 @@ export class UnauthorizedError extends Error {
constructor(code: string, error: { message: string }) {
super(error.message)
this.message = error.message
this.name = 'UnauthorizedError'
this.inner = error
this.data = {
message: this.message,