mirror of
https://github.com/docmost/docmost.git
synced 2025-11-17 01:51:09 +10:00
fix types
This commit is contained in:
@ -77,7 +77,7 @@ export class AttachmentService {
|
||||
return attachment;
|
||||
} catch (err) {
|
||||
console.log(err);
|
||||
throw new BadRequestException(err.message);
|
||||
throw new BadRequestException('Failed to upload file');
|
||||
}
|
||||
}
|
||||
|
||||
@ -119,7 +119,7 @@ export class AttachmentService {
|
||||
return attachment;
|
||||
} catch (err) {
|
||||
console.log(err);
|
||||
throw new BadRequestException(err.message);
|
||||
throw new BadRequestException('Failed to upload file');
|
||||
}
|
||||
}
|
||||
|
||||
@ -158,7 +158,7 @@ export class AttachmentService {
|
||||
return attachment;
|
||||
} catch (err) {
|
||||
console.log(err);
|
||||
throw new BadRequestException(err.message);
|
||||
throw new BadRequestException('Failed to upload file');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user