summaryrefslogtreecommitdiff
path: root/src/requests.ts
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2021-03-14 15:43:27 +0300
committereug-vs <eug-vs@keemail.me>2021-03-14 15:43:27 +0300
commit7c2f2f2835ac7a8a13704bbc9fd706128243286a (patch)
tree98903182fc12cdf0aa1ecb3bcc9dfd374e77d1df /src/requests.ts
parentc243612c1a282706e76315406033520b47fbabf4 (diff)
downloadcommercel-ui-7c2f2f2835ac7a8a13704bbc9fd706128243286a.tar.gz
feat: add Delete button
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 2873b37..406127f 100644
--- a/src/requests.ts
+++ b/src/requests.ts
@@ -6,6 +6,6 @@ const baseURL = process.env.NODE_ENV === 'production'
const requests = axios.create({ baseURL });
-export const { get, post, put, patch } = requests;
+export const { get, post, put, patch, delete: del } = requests;
export default requests;