use the new session management

This commit is contained in:
Sven Czarnian
2022-11-04 21:04:45 +01:00
orang tua acea193aa0
melakukan fc05ae4546
8 mengubah file dengan 44 tambahan dan 60 penghapusan

Melihat File

@@ -1,9 +1,10 @@
import axios from 'axios';
import { Configuration } from './configuration';
import { Session } from './session';
export class System {
static async timestamp(): Promise<number> {
const token = sessionStorage.getItem('token');
const token = Session.bearerToken();
if (!token) return 0;
return axios