mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +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,
|
||||
},
|
||||
}, onSuccess);
|
||||
api.delete = api.del;
|
||||
|
||||
return api;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user