Fixes tests

parent 9d7a240f
Pipeline #18235 passed with stages
in 9 minutes and 29 seconds
import { DB_TABLE, STORAGE_KEY } from '../app/shared/enums';
export function jwtOptionsFactory(storageService) {
export function jwtOptionsFactory(storageService): any {
return {
tokenGetter: async () => {
const tokens = await storageService.read(DB_TABLE.CONFIG, STORAGE_KEY.TOKEN).toPromise();
......@@ -8,4 +8,4 @@ export function jwtOptionsFactory(storageService) {
return tokens ? tokens.staticLoginToken : null;
},
};
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment