(reqId)
| 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, |
no test coverage detected