mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-08 20:56:13 +00:00
Minor fix in assembly script library (#1597)
And fix a code format issue introduced by last commit.
This commit is contained in:
parent
84e88e4f85
commit
a75295ec14
|
@ -385,7 +385,7 @@ export function put(url: string, payload: ArrayBuffer, payload_len: number, tag:
|
||||||
|
|
||||||
export function del(url: string, tag: string,
|
export function del(url: string, tag: string,
|
||||||
cb: (resp: wamr_response) => void): void {
|
cb: (resp: wamr_response) => void): void {
|
||||||
var req = new wamr_request(g_mid++, url, COAP_PUT, 0, new ArrayBuffer(0), 0);
|
var req = new wamr_request(g_mid++, url, COAP_DELETE, 0, new ArrayBuffer(0), 0);
|
||||||
|
|
||||||
do_request(req, cb);
|
do_request(req, cb);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user