first merge to main 🚀 #71

Manually merged
philipp merged 491 commits from dev into main 2021-02-19 17:03:06 +00:00
Showing only changes of commit 2a37dfafa4 - Show all commits

View File

@ -1,6 +1,6 @@
import { writable } from 'svelte/store';
import { OpenAPI, AuthService } from '@odit/lfk-client-js';
import localForage from "localforage";
import localForage from 'localforage';
export let users = writable([]);
export let tracks = writable([]);
@ -26,7 +26,6 @@ const store = () => {
console.log('refreshing auth');
AuthService.authControllerRefresh({ token: state.auth.refresh_token }).then((auth) => {
console.log('got new auth');
console.log(auth);
OpenAPI.TOKEN = auth.access_token;
localForage.setItem('logindata', auth);
});