mirror of
https://github.com/Nezumi-2711/react-training.git
synced 2026-09-22 20:01:59 +00:00
Update path sendRequest
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
import { BASE_URL } from '../constants/path';
|
import { BASE_URL } from '../constants/path';
|
||||||
|
|
||||||
// Types
|
// Types
|
||||||
import { TResponse } from '../types/types';
|
import { TResponse } from '../types/response';
|
||||||
|
|
||||||
type TMethodRequest = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
|
type TMethodRequest = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user