Skip to content

Commit

Permalink
Feat: 서버측에 signup API를 날리는건 admin에서 감아서 보내도록 함
Browse files Browse the repository at this point in the history
  • Loading branch information
soulchicken committed Oct 31, 2023
1 parent 2853fff commit b49ced5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/api/accounts.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import defaultInstance from '@/utils/axiosInstance/defaultInstance';
import clientInstance from '@/utils/axiosInstance/clientInstance';
import ssrInstance from '@/utils/axiosInstance/ssrInstance';

interface Credentials {
email: string, password: string, provider: string
Expand Down Expand Up @@ -57,7 +58,7 @@ export const credentialsSignupAPI = async ({
provider: 'Credential',
};

const result = await defaultInstance.post('members/signup', sendSignupData);
const result = await ssrInstance.post('members/signup', sendSignupData);
return result.data;
};

Expand Down

0 comments on commit b49ced5

Please sign in to comment.