Refactor: 변경된 쿼리에 따른 변경

This commit is contained in:
정현조 2024-09-19 15:07:27 +09:00
parent 30d6d4eabb
commit ad09d4e343
2 changed files with 2 additions and 2 deletions

View File

@ -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({

View File

@ -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 },