浏览代码

build auto

formation 3 年之前
父节点
当前提交
066f6debb8
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      angular-client/src/app/services/users.service.ts

+ 2 - 0
angular-client/src/app/services/users.service.ts

@@ -34,6 +34,8 @@ getOneUser(id: string): Observable <User> {
 
 // edit user
 editOneUser(id: string, body: { isActive: boolean; }): Observable <User> {
+   debugger;
+   console.log("url ========",this.apiUrl);
   return this.http.patch<User>(`${this.apiUrl}/api/users/${id}`, body);
 }