plugin/auth-backend: fix test on passport strategy helper

This commit is contained in:
danztran
2020-06-29 12:03:51 +07:00
parent c1806a0e2d
commit fba2c8c3b2
@@ -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(