web3-storage/web3.storage

Return 400 if user sends pin request that isn't application/json

sentry-io opened this issue · 0 comments

Sentry error raised for user error

Sentry Issue: WEB3-API-P4

SyntaxError: Unexpected end of JSON input
  File "../src/pins.js", line 48, in wS
    const pinData = await request.json()