From d5e8c1ca8cfb6eedb569721c0e0eb970819f2ad2 Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Wed, 20 May 2020 14:13:41 -0700 Subject: [PATCH] Force the use of fetch despite jquery still being integrated --- ui/app/adapters/application.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui/app/adapters/application.js b/ui/app/adapters/application.js index 3b82d526d..60a7fdacb 100644 --- a/ui/app/adapters/application.js +++ b/ui/app/adapters/application.js @@ -8,6 +8,10 @@ import { default as NoLeaderError, NO_LEADER } from '../utils/no-leader-error'; export const namespace = 'v1'; export default RESTAdapter.extend({ + // TODO: This can be removed once jquery-integration is turned off for + // the entire app. + useFetch: true, + namespace, system: service(),