MCPcopy
hub / github.com/parse-community/parse-server / deleteRequestEntry

Function deleteRequestEntry

spec/Idempotency.spec.js:18–28  ·  view source on GitHub ↗
(reqId)

Source from the content-addressed store, hash-verified

16
17 // Helpers
18 async function deleteRequestEntry(reqId) {
19 const config = Config.get(Parse.applicationId);
20 const res = await rest.find(
21 config,
22 auth.master(config),
23 '_Idempotency',
24 { reqId: reqId },
25 { limit: 1 }
26 );
27 await rest.del(config, auth.master(config), '_Idempotency', res.results[0].objectId);
28 }
29 async function setup(options) {
30 await reconfigureServer({
31 appId: Parse.applicationId,

Callers 1

Calls 3

findMethod · 0.65
getMethod · 0.45
delMethod · 0.45

Tested by

no test coverage detected