From 34b5bc527b197c9ef21901a0dbb335630ff7da1d Mon Sep 17 00:00:00 2001 From: Pixelik Date: Fri, 10 Nov 2023 16:21:15 +0200 Subject: [PATCH] chore: runs yarn lint:fix --- addon/utils/mung-options-for-fetch.ts | 6 +++--- tests/dummy/config/ember-try.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addon/utils/mung-options-for-fetch.ts b/addon/utils/mung-options-for-fetch.ts index f4e55164..3edd628d 100644 --- a/addon/utils/mung-options-for-fetch.ts +++ b/addon/utils/mung-options-for-fetch.ts @@ -15,13 +15,13 @@ export default function mungOptionsForFetch( let fetchOptions = { credentials: 'same-origin', }; - + for (const key in options) { if (Object.prototype.hasOwnProperty.call(options, key)) { - fetchOptions[key] = options[key] + fetchOptions[key] = options[key]; } } - + const hash = fetchOptions as FetchOptions; // Default to 'GET' in case `type` is not passed in (mimics jQuery.ajax). diff --git a/tests/dummy/config/ember-try.js b/tests/dummy/config/ember-try.js index 40c8a4e2..b6917c5f 100644 --- a/tests/dummy/config/ember-try.js +++ b/tests/dummy/config/ember-try.js @@ -17,7 +17,7 @@ module.exports = async function () { name: 'ember-lts-3.28', npm: { devDependencies: { - 'ember-source': '~3.28.0' + 'ember-source': '~3.28.0', }, }, },