diff options
author | bobzel <zzzman@gmail.com> | 2025-04-16 19:53:26 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2025-04-16 19:53:26 -0400 |
commit | 49c571cb3f8db0732ac9b461890af2c09722c71b (patch) | |
tree | a31b354a56a98727ba8355779feb0bdd437db0dc /src/client/Network.ts | |
parent | 32f6e2f9e96f16c9b1855a570a3fe4d5bf3e7d9c (diff) |
fixed authorizing dropbox.
Diffstat (limited to 'src/client/Network.ts')
-rw-r--r-- | src/client/Network.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/Network.ts b/src/client/Network.ts index a2ecf1bea..b11dcb379 100644 --- a/src/client/Network.ts +++ b/src/client/Network.ts @@ -21,10 +21,10 @@ export namespace Networking { 'Content-Type': 'application/json', }, body: body ? JSON.stringify(body) : undefined, - }).then(async response => { + }).then(response => { if (response.ok) return response.json() as object; - return await response.text().then(text => ({ error: '' + response.status + ':' + response.statusText + '-' + text })); + return response.text().then(text => ({ error: '' + response.status + ':' + response.statusText + '-' + text })); }); } |