fix failing tests / remove obsolente ones
add basic structure of episode page
This commit is contained in:
@ -68,7 +68,6 @@ export function refreshAPIToken(callback: (error: string) => void, force?: boole
|
||||
callFuncQue(result.error);
|
||||
return;
|
||||
}
|
||||
console.log(result);
|
||||
// set api token
|
||||
apiToken = result.access_token;
|
||||
// set expire time
|
||||
@ -188,7 +187,6 @@ export function callAPI<T>(
|
||||
errorcallback: (_: string) => void = (_: string): void => {}
|
||||
): void {
|
||||
checkAPITokenValid(() => {
|
||||
console.log(apiToken);
|
||||
fetch(APIPREFIX + apinode, {
|
||||
method: 'POST',
|
||||
body: JSON.stringify(fd),
|
||||
|
@ -27,7 +27,7 @@ class StaticInfos {
|
||||
|
||||
// trigger onThemeChange handlers
|
||||
this.handlers.map((func) => {
|
||||
return func();
|
||||
func();
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user