We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b6da86 commit 994981cCopy full SHA for 994981c
2 files changed
src/modules/file/dto/file.dto.ts
@@ -6,7 +6,7 @@ import { FileStatus } from '../file.domain';
6
export class FileDto {
7
id: number;
8
uuid: string;
9
- fileId: string;
+ fileId?: string;
10
name: string;
11
type: string;
12
size: bigint;
src/modules/file/file.usecase.ts
@@ -462,7 +462,9 @@ export class FileUseCases {
462
]);
463
464
if (!limit || limit.value === '0') {
465
- throw new PaymentRequiredException('You can not have empty files');
+ throw new PaymentRequiredException(
466
+ 'You can not have empty files, upgrade your plan to get more features',
467
+ );
468
}
469
470
if (limit.shouldLimitBeEnforced({ currentCount: emptyFilesCount })) {
0 commit comments