From 84832a6548cf899bd02366e5af58fa975b2a1e2a Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Tue, 24 Oct 2017 16:06:10 -0700 Subject: [PATCH] Stop gracefully handling findAll 403s in the adapter --- ui/app/adapters/application.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/app/adapters/application.js b/ui/app/adapters/application.js index f181d2cf5..1e5c97333 100644 --- a/ui/app/adapters/application.js +++ b/ui/app/adapters/application.js @@ -24,10 +24,9 @@ export default RESTAdapter.extend({ return this._super(...arguments).catch(error => { const errorCodes = codesForError(error); - const isNotAuthorized = errorCodes.includes('403'); const isNotImplemented = errorCodes.includes('501'); - if (isNotAuthorized || isNotImplemented) { + if (isNotImplemented) { return []; }