nalgeon / sqlime

Online SQLite playground
http://sqlime.org
MIT License
899 stars 42 forks source link

No message if gist response 403 #11

Closed fey closed 1 year ago

fey commented 1 year ago

Steps for reproduce

  1. Go to https://sqlime.org/
  2. Create API TOKEN without gist scope`
  3. Add it to settings
  4. Try save snippet
  5. infinity saving...
  6. In devtools response from gists
    {
    "message": "Resource not accessible by personal access token",
    "documentation_url": "https://docs.github.com/rest/reference/gists#create-a-gist"
    }

    image

Expected behaviour

User should see message if TOKEN is invalid

nalgeon commented 1 year ago

Thanks, fixed.