Skip to content

Commit 5ee446e

Browse files
Merge pull request #42 from 9git9git/hotfix
[HOTFIX ]회원가입 endpoint 수정
2 parents 4589178 + 2b4c0c2 commit 5ee446e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apis/user.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const registerUser = async (
99
): Promise<TResponse<TUser>> => {
1010
const { name, email, password } = data;
1111
try {
12-
const response = await fetch(`${process.env.NEXT_PUBLIC_API_URL}/auth/register`, {
12+
const response = await fetch(`${process.env.NEXT_PUBLIC_API_URL}/api/v1/auth/register`, {
1313
method: 'POST',
1414
headers: {
1515
'Content-Type': 'application/json',

0 commit comments

Comments
 (0)