From 7c2f2f2835ac7a8a13704bbc9fd706128243286a Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sun, 14 Mar 2021 15:43:27 +0300 Subject: feat: add Delete button --- src/requests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/requests.ts') 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; -- cgit v1.2.3