Closed Hopding closed 7 years ago
This PR causes an error to be thrown if a GET for a user's index.json returns a response containing this xml:
index.json
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message>
and the user's snippet list menu option is disabled until they possess snippet(s) & an index file.
Fixes #411. This PR solves the problem of users with no index.json getting an infinite empty list of snippets.
Description
This PR causes an error to be thrown if a GET for a user's
index.json
returns a response containing this xml:and the user's snippet list menu option is disabled until they possess snippet(s) & an index file.
Motivation and Context
Fixes #411. This PR solves the problem of users with no
index.json
getting an infinite empty list of snippets.Checklist:
Screenshots:
User with no snippets
User with snippets