Prechádzať zdrojové kódy

modify oprnregistration api

tomoya 2 rokov pred
rodič
commit
9ff2caa396
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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));