diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/repository/config/config.repository.ts b/src/Umbraco.Web.UI.Client/src/packages/core/repository/config/config.repository.ts deleted file mode 100644 index 5ae521f7a3..0000000000 --- a/src/Umbraco.Web.UI.Client/src/packages/core/repository/config/config.repository.ts +++ /dev/null @@ -1,18 +0,0 @@ -import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api'; -import type { ServertimeOffset } from '@umbraco-cms/backoffice/models'; -import { tryExecuteAndNotify } from '@umbraco-cms/backoffice/resources'; -import { umbracoPath } from '@umbraco-cms/backoffice/utils'; - -export class UmbConfigRepository { - #host; - - constructor(host: UmbControllerHost) { - this.#host = host; - } - - async getServertimeOffset() { - const resource = fetch(umbracoPath('/config/servertimeoffset')).then((res) => res.json()); - const { data } = await tryExecuteAndNotify(this.#host, resource); - return data; - } -}