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) }