From dd3a624b7e1c2a26cf863c9e1d5518d3abd2e07d Mon Sep 17 00:00:00 2001 From: "Ronald A. Richardson" Date: Thu, 18 Jul 2024 01:02:47 +0800 Subject: [PATCH] fixed linter --- addon/services/universe.js | 1 + addon/utils/fleetbase-api-fetch.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/addon/services/universe.js b/addon/services/universe.js index 6097073..e3b3754 100644 --- a/addon/services/universe.js +++ b/addon/services/universe.js @@ -11,6 +11,7 @@ import { getOwner } from '@ember/application'; import { assert, debug } from '@ember/debug'; import RSVP from 'rsvp'; import loadInstalledExtensions from '../utils/load-installed-extensions'; +import loadExtensions from '../utils/load-extensions'; import getWithDefault from '../utils/get-with-default'; export default class UniverseService extends Service.extend(Evented) { diff --git a/addon/utils/fleetbase-api-fetch.js b/addon/utils/fleetbase-api-fetch.js index 9f9aaed..d7c0805 100644 --- a/addon/utils/fleetbase-api-fetch.js +++ b/addon/utils/fleetbase-api-fetch.js @@ -53,7 +53,7 @@ export default async function fleetbaseApiFetch(method, uri, params = {}, fetchO } catch (error) { // If a fallback response is provided use it instead if (fetchOptions && fetchOptions.fallbackResponse !== undefined) { - return fetcOptions.fallbackResponse; + return fetchOptions.fallbackResponse; } // Handle errors (network errors, JSON parsing errors, etc.)