Refactor: 변경된 쿼리에 따른 변경
This commit is contained in:
parent
30d6d4eabb
commit
ad09d4e343
@ -1,6 +1,6 @@
|
||||
import axios, { AxiosError, AxiosResponse, InternalAxiosRequestConfig } from 'axios';
|
||||
import useAuthStore from '@/stores/useAuthStore';
|
||||
import { RefreshTokenResponse } from '../types';
|
||||
import { RefreshTokenResponse } from '@/types';
|
||||
|
||||
const REFRESH_URL = '/auth/reissue';
|
||||
const api = axios.create({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import api from '@/api/axiosConfig';
|
||||
import { FolderRequest, FolderResponse } from '@/types';
|
||||
|
||||
export async function fetchFolder(projectId: number, folderId: number, memberId: number) {
|
||||
export async function getFolder(projectId: number, folderId: number, memberId: number) {
|
||||
return api
|
||||
.get<FolderResponse>(`/projects/${projectId}/folders/${folderId}`, {
|
||||
params: { memberId },
|
||||
|
Loading…
Reference in New Issue
Block a user