mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-27 17:11:14 +01:00
feat: add .delete() method to api module
This commit is contained in:
@@ -77,6 +77,7 @@ define('api', () => {
|
|||||||
'x-csrf-token': config.csrf_token,
|
'x-csrf-token': config.csrf_token,
|
||||||
},
|
},
|
||||||
}, onSuccess);
|
}, onSuccess);
|
||||||
|
api.delete = api.del;
|
||||||
|
|
||||||
return api;
|
return api;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user