lrf402788946 %!s(int64=4) %!d(string=hai) anos
pai
achega
04b9dc27eb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/service/user.js

+ 1 - 1
app/service/user.js

@@ -195,7 +195,7 @@ class UserService extends CrudService {
           'content-type': 'application/json',
         },
         dataType: 'json',
-        data: id,
+        data: { id },
       });
       console.log(r);
     }