Skip to content

Commit

Permalink
✔ Akun BOT Backup ~
Browse files Browse the repository at this point in the history
  • Loading branch information
bifeldy committed Mar 17, 2024
1 parent 48741bd commit dc0e0b6
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 @@ -187,7 +187,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) && attachment.user_.id !== 2 /* TODO :: Hard-coded Bot 'Backup' Account Prevent DDL */) {
const upload = await this.aws.uploadDdl(files[fIdx].name);
let urlFile = upload.Location;
if (urlFile.startsWith('http://')) {
Expand Down

0 comments on commit dc0e0b6

Please sign in to comment.