Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
dbcfd committed Jul 19, 2023
1 parent 6b81ec8 commit f25c4bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/state-management/repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/http-client/src/remote-admin-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export class RemoteAdminApi implements AdminApi {
async startIndexingModels(modelsIDs: Array<StreamID>): Promise<void> {
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',
Expand Down Expand Up @@ -153,7 +153,7 @@ export class RemoteAdminApi implements AdminApi {
async stopIndexingModels(modelsIDs: Array<StreamID>): Promise<void> {
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',
Expand Down

0 comments on commit f25c4bf

Please sign in to comment.