File tree Expand file tree Collapse file tree 3 files changed +0
-4
lines changed Expand file tree Collapse file tree 3 files changed +0
-4
lines changed Original file line number Diff line number Diff 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 ) ;
Original file line number Diff line number Diff 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 } ,
Original file line number Diff line number Diff line change 11import client from './client' ;
22
33const 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
1615const 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 ( '최초 답장 전송과정에서 오류가 발생했습니다.' ) ;
You can’t perform that action at this time.
0 commit comments