Skip to content

Commit dbf33e2

Browse files
committed
fix : console.log 남아있는 것들 제거
1 parent 7607f68 commit dbf33e2

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

src/apis/auth.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ export const getNewToken = async () => {
3333
try {
3434
const response = await client.post('/api/reissue', {}, { withCredentials: true });
3535
if (!response) throw new Error('getNewToken: no response data');
36-
console.log(response.data);
3736
return response;
3837
} catch (error) {
3938
console.error(error);

src/apis/client.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ client.interceptors.request.use(
1212
const accessToken = useAuthStore.getState().accessToken;
1313
if (config.url !== '/api/reissue' && accessToken) {
1414
config.headers.Authorization = `Bearer ${accessToken}`;
15-
console.log('interceptor', config);
1615
}
1716
return config;
1817
},

src/apis/write.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import client from './client';
22

33
const postLetter = async (data: LetterRequest) => {
4-
console.log('request', data);
54
try {
65
const res = await client.post('/api/letters', data);
76
if (!res) throw new Error('편지 전송과정에서 오류가 발생했습니다.');
@@ -14,7 +13,6 @@ const postLetter = async (data: LetterRequest) => {
1413
};
1514

1615
const postFirstReply = async (data: FirstReplyRequest) => {
17-
console.log('Firstrequest', data);
1816
try {
1917
const res = await client.post('/api/random-letters/matching', data);
2018
if (!res) throw new Error('최초 답장 전송과정에서 오류가 발생했습니다.');

0 commit comments

Comments
 (0)