Skip to content

Commit 92ef7e1

Browse files
committed
Replace destroy with delete
1 parent 02ee588 commit 92ef7e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • generator/templates/Authorisation/src/api/endpoints

generator/templates/Authorisation/src/api/endpoints/user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function update(user) {
1818
* @param userId {number}
1919
*/
2020
function destroy(userId) {
21-
return axios.destroy(`user/${userId}`);
21+
return axios.delete(`user/${userId}`);
2222
}
2323

2424
export {

0 commit comments

Comments
 (0)