diff options
author | eug-vs <eug-vs@keemail.me> | 2021-03-14 15:43:27 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-03-14 15:43:27 +0300 |
commit | 7c2f2f2835ac7a8a13704bbc9fd706128243286a (patch) | |
tree | 98903182fc12cdf0aa1ecb3bcc9dfd374e77d1df /src/requests.ts | |
parent | c243612c1a282706e76315406033520b47fbabf4 (diff) | |
download | commercel-ui-7c2f2f2835ac7a8a13704bbc9fd706128243286a.tar.gz |
feat: add Delete button
Diffstat (limited to 'src/requests.ts')
-rw-r--r-- | src/requests.ts | 2 |
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; |