瀏覽代碼

POST to PUT for update profile

master
kj1352 5 年之前
父節點
當前提交
e0d573ac2b
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/app/services/auth.service.ts

+ 1
- 1
src/app/services/auth.service.ts 查看文件

@@ -32,6 +32,6 @@ export class AuthService {
})
};
return this.http.post(URL + '/api/maioraservice/user/v1/update', userData, httpOptions).toPromise();
return this.http.put(URL + '/api/maioraservice/user/v1/update', userData, httpOptions).toPromise();
}
}

Loading…
取消
儲存