Remove empty body object

This commit is contained in:
Caleb Owens 2024-04-10 22:40:15 +01:00 committed by Mattias Granlund
parent 41644432b9
commit 0ceff12989

View File

@ -152,7 +152,7 @@ export class CloudClient {
}
async createLoginToken(): Promise<LoginToken> {
const token = await this.post<LoginToken>({ path: 'login/token.json', body: {} });
const token = await this.post<LoginToken>({ path: 'login/token.json' });
const url = new URL(token.url);
url.host = apiUrl.host;
return {