diff options
author | Dominik Guzei <dominik.guzei@gmail.com> | 2019-02-22 13:04:51 +0100 |
---|---|---|
committer | Dominik Guzei <dominik.guzei@gmail.com> | 2019-02-22 13:04:51 +0100 |
commit | 3de31efa29b8f2729f968d9d63c42d21c7d8dcf5 (patch) | |
tree | 69553d661c7485493edfdd91e080a9dc06f51f0f /src/api | |
parent | small fixes (diff) | |
download | ferdium-app-3de31efa29b8f2729f968d9d63c42d21c7d8dcf5.tar.gz ferdium-app-3de31efa29b8f2729f968d9d63c42d21c7d8dcf5.tar.zst ferdium-app-3de31efa29b8f2729f968d9d63c42d21c7d8dcf5.zip |
adds flow for deleting workspaces
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/utils/auth.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/api/utils/auth.js b/src/api/utils/auth.js index 47ac94c19..d469853a5 100644 --- a/src/api/utils/auth.js +++ b/src/api/utils/auth.js | |||
@@ -22,3 +22,7 @@ export const prepareAuthRequest = (options, auth = true) => { | |||
22 | 22 | ||
23 | return request; | 23 | return request; |
24 | }; | 24 | }; |
25 | |||
26 | export const sendAuthRequest = (url, options) => ( | ||
27 | window.fetch(url, prepareAuthRequest(options)) | ||
28 | ); | ||