We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02ee588 commit 92ef7e1Copy full SHA for 92ef7e1
1 file changed
generator/templates/Authorisation/src/api/endpoints/user.js
@@ -18,7 +18,7 @@ function update(user) {
18
* @param userId {number}
19
*/
20
function destroy(userId) {
21
- return axios.destroy(`user/${userId}`);
+ return axios.delete(`user/${userId}`);
22
}
23
24
export {
0 commit comments