fix error.method name in refreshAuthToken
This commit is contained in:
1 parent
9f861f9779
commit
861adc0b96
1 file changed
+1
-1
@@ -193,7 +193,7 @@ const refreshAuthToken = (req, res, next) => {
|
||||
const error = new Error(errorMessages.NO_REFRESH_TOKEN);
|
||||
error.status = 401;
|
||||
error.service = SERVICE_NAME;
|
||||
error.method = "handleExpiredJwtToken";
|
||||
error.method = "refreshAuthToken";
|
||||
return next(error);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user