mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-09-19 16:17:37 +03:00
Remove empty body object
This commit is contained in:
parent
41644432b9
commit
0ceff12989
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user