forked from Cutlery/immich
save -> update
This commit is contained in:
parent
482645e22d
commit
76241e0364
@ -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",
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user