🚧 #46 Shared with me (#67)

* 🚧 #46 Shared with me
This commit is contained in:
Anton Shepilov
2023-06-07 10:48:44 +02:00
committed by GitHub
parent 49ec20d60e
commit f1bf507865
42 changed files with 1122 additions and 867 deletions
@@ -187,6 +187,9 @@ export class FileServiceImpl {
},
): Promise<File> {
let entity = await this.repository.findOne(pk, {}, context);
if (entity == null) {
throw new CrudException(`File not found ${pk.company_id}|${pk.id}`, 404);
}
if (options?.waitForThumbnail) {
for (let i = 1; i < 100; i++) {