mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-18 15:55:30 +00:00
Alias "del" to "delete" on XMLHttpRequester
This commit is contained in:
parent
1f31bdaae2
commit
ec90ec3585
@ -3,6 +3,7 @@ import XHR from 'xhr';
|
||||
|
||||
const XMLHttpRequester = Promisify(XHR);
|
||||
XMLHttpRequester.del = Promisify(XHR.del);
|
||||
XMLHttpRequester.delete = XMLHttpRequester.del;
|
||||
XMLHttpRequester.get = Promisify(XHR.get);
|
||||
XMLHttpRequester.head = Promisify(XHR.head);
|
||||
XMLHttpRequester.patch = Promisify(XHR.patch);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user