plugin/auth-backend: fix test on passport strategy helper
This commit is contained in:
@@ -137,9 +137,7 @@ export const executeRefreshTokenStrategy = async (
|
||||
params: any,
|
||||
) => {
|
||||
if (err) {
|
||||
reject(
|
||||
new Error(`Failed to refresh access token: ${JSON.stringify(err)}`),
|
||||
);
|
||||
reject(new Error(`Failed to refresh access token ${err.toString()}`));
|
||||
}
|
||||
if (!accessToken) {
|
||||
reject(
|
||||
|
||||
Reference in New Issue
Block a user