1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-11-28 14:58:15 +09:00
This commit is contained in:
syuilo 2022-04-11 22:50:53 +09:00
parent fd4ec81bcb
commit a7015e6f09

View File

@ -72,7 +72,7 @@ export async function addAccount(id: Account['id'], token: Account['token']) {
}
}
function fetchAccount(token): Promise<Account> {
function fetchAccount(token: string): Promise<Account> {
return new Promise((done, fail) => {
// Fetch user
fetch(`${apiUrl}/i`, {