Skip to content

Commit

Permalink
✔ 😒 😡 🤬
Browse files Browse the repository at this point in the history
  • Loading branch information
bifeldy committed Jan 20, 2024
1 parent 8d5a5e4 commit 9faf452
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/main-site/server/main.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export class UploadService {
relations: ['user_']
});
const paksaAutoDdl = (attachment.size <= CONSTANTS.fileSizeAttachmentAutoDdl && attachment.user_.role !== RoleModel.USER);
if (primeCount >= 0 || paksaAutoDdl) {
if (primeCount > 0 || paksaAutoDdl) {
const upload = await this.aws.uploadDdl(files[fIdx].name);
let urlFile = upload.Location;
if (urlFile.startsWith('http://')) {
Expand Down

0 comments on commit 9faf452

Please sign in to comment.