From f25c4bfe97add73b2c3419c38589eeb72923c1a3 Mon Sep 17 00:00:00 2001 From: Danny Browning Date: Wed, 19 Jul 2023 13:41:52 -0600 Subject: [PATCH] prettier --- packages/core/src/state-management/repository.ts | 2 +- packages/http-client/src/remote-admin-api.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/src/state-management/repository.ts b/packages/core/src/state-management/repository.ts index 74dbb85862..777993691a 100644 --- a/packages/core/src/state-management/repository.ts +++ b/packages/core/src/state-management/repository.ts @@ -160,7 +160,7 @@ export class Repository { private fromMemory(streamId: StreamID): RunningState | undefined { const state = this.inmemory.get(streamId.toString()) - if(state) { + if (state) { Metrics.count(CACHE_HIT_MEMORY, 1) } return state diff --git a/packages/http-client/src/remote-admin-api.ts b/packages/http-client/src/remote-admin-api.ts index 67c28f18e5..6a18683b93 100644 --- a/packages/http-client/src/remote-admin-api.ts +++ b/packages/http-client/src/remote-admin-api.ts @@ -85,7 +85,7 @@ export class RemoteAdminApi implements AdminApi { async startIndexingModels(modelsIDs: Array): Promise { const code = await this.generateCode() const body = { - models: modelsIDs.map((idx) => idx.toString()) + models: modelsIDs.map((idx) => idx.toString()), } await this._fetchJson(this.getModelsUrl(), { method: 'post', @@ -153,7 +153,7 @@ export class RemoteAdminApi implements AdminApi { async stopIndexingModels(modelsIDs: Array): Promise { const code = await this.generateCode() const body = { - models: modelsIDs.map((data) => data.toString()) + models: modelsIDs.map((data) => data.toString()), } await this._fetchJson(this.getModelsUrl(), { method: 'delete',