1
0
forked from Cutlery/immich

save -> update

This commit is contained in:
Jonathan Jogenfors 2024-03-20 07:35:03 +01:00
parent 482645e22d
commit 76241e0364
2 changed files with 1 additions and 36 deletions

View File

@ -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": { "/search/explore": {
"get": { "get": {
"operationId": "getExploreData", "operationId": "getExploreData",

View File

@ -588,7 +588,7 @@ export class LibraryService extends EventEmitter {
this.logger.verbose(`Asset is still online: ${asset.originalPath}`); this.logger.verbose(`Asset is still online: ${asset.originalPath}`);
} else { } else {
this.logger.debug(`Marking asset as offline: ${asset.originalPath}`); 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; return JobStatus.SUCCESS;