Bläddra i källkod

modify oprnregistration api

tomoya 2 år sedan
förälder
incheckning
9ff2caa396
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      frontend/src/api.ts

+ 1 - 1
frontend/src/api.ts

@@ -47,7 +47,7 @@ export const api = {
     });
   },
   async registerUser(data: IUserProfileCreate) {
-    return axios.post(`${apiUrl}/api/v1/users/register`, data);
+    return axios.post(`${apiUrl}/api/v1/users/open`, data);
   },
   async testCeleryMsg(token: string, data:{msg: string}){
     return axios.post<{msg:string}>(`${apiUrl}/api/v1/utils/test-celery/msg`, data, authHeaders(token));