Fix bug with empty scopes
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Fabian Stamm 2020-08-07 19:08:46 +02:00
parent e0ea7275f7
commit 2c4c87927d

View File

@ -102,7 +102,7 @@ const GetAuthRoute = (view = false) =>
);
};
const scopes = scope.split(";");
const scopes = scope.split(";").filter((e: string) => e !== "");
Logging.debug("Scopes:", scope);