Skip to content

Commit

Permalink
Merge pull request #240 from ssu-student-union/feat/#148_jongse_qa_3
Browse files Browse the repository at this point in the history
style: MainScheduleSection 반응형
  • Loading branch information
jongse7 authored Oct 16, 2024
2 parents f6e9a16 + 68152a7 commit ff8cef8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/apis/getBoardPosts.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { GetBoardDetailResponse, getBoardPostsProps } from '@/types/apis/get';
import { client } from './client';
import { clientAuth } from './client';
import { AxiosResponse } from 'axios';

export const getBoardPosts = async ({
Expand All @@ -10,7 +10,7 @@ export const getBoardPosts = async ({
category,
boardCode,
}: getBoardPostsProps): Promise<GetBoardDetailResponse> => {
const response: AxiosResponse<GetBoardDetailResponse> = await client({
const response: AxiosResponse<GetBoardDetailResponse> = await clientAuth({
url: `/board/${boardCode}/posts`,
method: 'get',
params: {
Expand Down

0 comments on commit ff8cef8

Please sign in to comment.