diff --git a/open-api/immich-openapi-specs.json b/open-api/immich-openapi-specs.json index f50abdffc..82562100a 100644 --- a/open-api/immich-openapi-specs.json +++ b/open-api/immich-openapi-specs.json @@ -4597,41 +4597,6 @@ ] } }, - "/search/cities": { - "get": { - "operationId": "getAssetsByCity", - "parameters": [], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "items": { - "$ref": "#/components/schemas/AssetResponseDto" - }, - "type": "array" - } - } - }, - "description": "" - } - }, - "security": [ - { - "bearer": [] - }, - { - "cookie": [] - }, - { - "api_key": [] - } - ], - "tags": [ - "Search" - ] - } - }, "/search/explore": { "get": { "operationId": "getExploreData", diff --git a/server/src/domain/library/library.service.ts b/server/src/domain/library/library.service.ts index 4007ccf28..ca0357448 100644 --- a/server/src/domain/library/library.service.ts +++ b/server/src/domain/library/library.service.ts @@ -588,7 +588,7 @@ export class LibraryService extends EventEmitter { this.logger.verbose(`Asset is still online: ${asset.originalPath}`); } else { this.logger.debug(`Marking asset as offline: ${asset.originalPath}`); - await this.assetRepository.save({ id: asset.id, isOffline: true }); + await this.assetRepository.update({ id: asset.id, isOffline: true }); } return JobStatus.SUCCESS;