aboutsummaryrefslogtreecommitdiff
path: root/src/requests.ts
diff options
context:
space:
mode:
authorilyayudovin <ilyayudovin123@gmail.com>2020-06-26 18:59:29 +0300
committerilyayudovin <ilyayudovin123@gmail.com>2020-06-26 18:59:29 +0300
commit08599cd0954fbbb90d4932cf3de1c7511eb81b52 (patch)
tree9c16cf0cc091ddbd0503c6fde4f4be55456ec2b1 /src/requests.ts
parent9e9c18cd1d02a0185d0387770a7bafc18020d6c0 (diff)
downloadwhich-ui-08599cd0954fbbb90d4932cf3de1c7511eb81b52.tar.gz
add request to set avatarUrl
Diffstat (limited to 'src/requests.ts')
-rw-r--r--src/requests.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/requests.ts b/src/requests.ts
index 4cfd37b..42b5b95 100644
--- a/src/requests.ts
+++ b/src/requests.ts
@@ -10,6 +10,6 @@ requests.interceptors.request.use(config => {
return _.set(config, 'headers.Authorization', token);
});
-export const { get, post, put } = requests;
+export const { get, post, put, patch } = requests;
export default requests;