浏览代码

modify oprnregistration api

tomoya 2 年之前
父节点
当前提交
9ff2caa396
共有 1 个文件被更改,包括 1 次插入1 次删除
  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));