From d12d9c2082c21ebd73085fef281fc38240f7baad Mon Sep 17 00:00:00 2001 From: Mike Audi Date: Sun, 13 Nov 2022 00:43:13 -0600 Subject: [PATCH] reporting now functional. deploy worker to test in prod --- worker/upload/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker/upload/src/index.js b/worker/upload/src/index.js index 26c4dcd..fa8db43 100644 --- a/worker/upload/src/index.js +++ b/worker/upload/src/index.js @@ -23,7 +23,7 @@ export default { } const l0Rsp = await report(env.REMOTE_ID, env.REMOTE_SECRET, body.key, blockBytes.length) - if (l0Rsp.status !== 200) { + if (l0Rsp.status !== 204) { console.log('WARNING. Failed to report usage') console.log(l0Rsp) }