Skip to content

Commit d501af9

Browse files
replace empty body for the function delete in Native Script
1 parent b9f2209 commit d501af9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/networking/modules/nativescript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,5 @@ export function post(params: Object, body: string, endpoint: EndpointDefinition,
7272

7373
export function del(params: Object, endpoint: EndpointDefinition, callback: Function) {
7474
let url = this.getStandardOrigin() + endpoint.url;
75-
return xdr.call(this, 'DELETE', url, params, {}, endpoint, callback);
75+
return xdr.call(this, 'DELETE', url, params, '', endpoint, callback);
7676
}

0 commit comments

Comments
 (0)