Skip to content

Commit

Permalink
✔ Fix (?) 🤔
Browse files Browse the repository at this point in the history
  • Loading branch information
bifeldy committed Jul 7, 2023
1 parent 65d0d25 commit d8c7295
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 19 deletions.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/fansubid/browser/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<noscript>🎉 Harap Menyalakan JavaScript Untuk Dapat Mengakses Website Ini ✨</noscript>
</div>
<app-root></app-root>
<script src="runtime.4a92a8f4cf88131e.js" type="module"></script><script src="polyfills.325a71d3e423341a.js" type="module"></script><script src="scripts.03e7a8120a25f41a.js" defer></script><script src="main.8b4d0cb386160527.js" type="module"></script>
<script src="runtime.89c1cd85268af7a9.js" type="module"></script><script src="polyfills.325a71d3e423341a.js" type="module"></script><script src="scripts.03e7a8120a25f41a.js" defer></script><script src="main.8b4d0cb386160527.js" type="module"></script>


</body></html>
12 changes: 6 additions & 6 deletions dist/fansubid/browser/ngsw.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"configVersion": 1,
"timestamp": 1688707161803,
"timestamp": 1688709494122,
"index": "/index.html",
"assetGroups": [
{
Expand All @@ -21,7 +21,7 @@
"/297.35065b9f2d3b17e7.js",
"/32.19e8e69701ed1ade.js",
"/345.94c411d7b3c87056.js",
"/438.d1ee861b46d4000b.js",
"/438.e7dab7f944829934.js",
"/469.c52114591a8f9068.js",
"/471.59f8e755d14abe8a.js",
"/478.0550fcb239e83484.js",
Expand All @@ -43,7 +43,7 @@
"/main.8b4d0cb386160527.js",
"/manifest.webmanifest",
"/polyfills.325a71d3e423341a.js",
"/runtime.4a92a8f4cf88131e.js",
"/runtime.89c1cd85268af7a9.js",
"/scripts.03e7a8120a25f41a.js",
"/styles.b697e74e91f54c20.css"
],
Expand Down Expand Up @@ -94,7 +94,7 @@
"/297.35065b9f2d3b17e7.js": "d0baa883af3ab549b3b2ff0194aba50c9958f574",
"/32.19e8e69701ed1ade.js": "96fc8d94b3a77a158d9e926a8e84a79dd27f9089",
"/345.94c411d7b3c87056.js": "a7520aaa35bbfbd4e4e5f1f245b97ba85283c8ab",
"/438.d1ee861b46d4000b.js": "aa0f95d54660c6c98d0b9f7bcc566eca098a5b70",
"/438.e7dab7f944829934.js": "53d6972eeaca8dc8a61397a7ef3d240d9d6f8593",
"/469.c52114591a8f9068.js": "72dead673bbd49808a5320d61785bd339b050d60",
"/471.59f8e755d14abe8a.js": "7bb5594c13636e3a286deb752b080cbdd8f9fb1e",
"/478.0550fcb239e83484.js": "39ca6c0d2534753c697eb82b8ff606f6df43d549",
Expand All @@ -112,11 +112,11 @@
"/960.5e014ce2e6e49bcf.js": "f853b2cc2ee3b2b356b3aee241491de4c14cba22",
"/common.ac0ed540e3ab82a3.js": "27ad6f976af96ecfe2f83db7a8e582f55ed6d0e9",
"/favicon.ico": "071facb8fab2e4b3493dcfbb0b02d7bd21bca97e",
"/index.html": "0c234bbaeee246eee814951d38ba83ffe8acdeab",
"/index.html": "ca90917f58a8dc14424827ccb906530ed7bdbb73",
"/main.8b4d0cb386160527.js": "6afc7cbf026a9a9bb2588b61fc237024333b8752",
"/manifest.webmanifest": "eafb5426cdc9fd714787e5453af315b9972875a3",
"/polyfills.325a71d3e423341a.js": "18f8a8b77e7d11be1385d438c6d218cc68c0edb3",
"/runtime.4a92a8f4cf88131e.js": "1a601ea36b7d69f27c28f5ae460b2b3a65ce1a0b",
"/runtime.89c1cd85268af7a9.js": "d5580a841a21cbd34d950201a51c3a6abbaf5b91",
"/scripts.03e7a8120a25f41a.js": "2f52334f58ca527e57efab741f2fac760e6dd84d",
"/styles.b697e74e91f54c20.css": "972988388aafead5cb07e9a94f2b9c42e53cf768"
},
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/fansubid/server/main.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions src/api/controllers/berkas.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,14 +358,14 @@ export class BerkasController {
}
await this.attachmentRepo.save(otherAttachment2);
this.gs.deleteAttachment(`${fileName}.${fileExt}`);
}).catch(async (e4) => {
this.gs.log('[GDRIVE-ERROR] 💽', e4, 'error');
}).catch(async (e3) => {
this.gs.log('[GDRIVE-ERROR] 💽', e3, 'error');
resMkvAttachmentSave.pending = false;
await this.attachmentRepo.save(resMkvAttachmentSave);
});
}
} catch (e3) {
this.gs.log('[FILE_ATTACHMENT-ERROR] 🎼', e3, 'error');
} catch (e2) {
this.gs.log('[FILE_ATTACHMENT-ERROR] 🎼', e2, 'error');
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export class AdminListUserComponent implements OnInit, OnDestroy {
if (data.name === 'BAN') {
this.ban(data.row);
} else {
this.proDemote(data.row);
this.proDemote(data.row, data.name);
}
}

Expand Down Expand Up @@ -187,19 +187,19 @@ export class AdminListUserComponent implements OnInit, OnDestroy {
});
}

async proDemote(data): Promise<void> {
async proDemote(data, role: RoleModel): Promise<void> {
this.gs.log('[USER_LIST_CLICK_PROMOTE]', data);
this.subsDialog = (await this.ds.openKonfirmasiDialog(
`Promosikan Akun -- '${data.username}'`,
'Apakah Yakin Dan Akun Telah Direview Sebelum Dipromosikan ?'
`Pro/Demosikan Akun -- '${data.username}'`,
`Apakah Yakin Ingin Menjadikannya Sebagai ${role} ?`
)).afterClosed().subscribe({
next: re => {
this.gs.log('[INFO_DIALOG_CLOSED]', re);
if (re === true) {
this.bs.busy();
this.subsPromote = this.adm.proDemote({
id: data.id,
role: data.name
role
}).subscribe({
next: res => {
this.gs.log('[USER_LIST_CLICK_PROMOTE_SUCCESS]', res);
Expand Down

0 comments on commit d8c7295

Please sign in to comment.