Skip to content

Commit

Permalink
✔ Fix (?)
Browse files Browse the repository at this point in the history
  • Loading branch information
bifeldy committed May 19, 2023
1 parent 0662600 commit 3a015d4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 25 deletions.
2 changes: 1 addition & 1 deletion dist/fansubid/browser/ngsw.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"configVersion": 1,
"timestamp": 1684420667578,
"timestamp": 1684465446164,
"index": "/index.html",
"assetGroups": [
{
Expand Down
2 changes: 1 addition & 1 deletion dist/fansubid/server/main.js

Large diffs are not rendered by default.

22 changes: 0 additions & 22 deletions src/api/app.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,26 +78,4 @@ export class AppController {
});
}

// @Post('/lost-account-find')
// @FilterApiKeyAccess()
// async lostAccoundFind(@Req() req: Request, @Res({ passthrough: true }) res: Response): Promise<any> {
// const user: UserModel = res.locals['user'];
// return {
// info: '😚 200 - Lost API :: Berhasil Menemukan Akun 🤩',
// result: user
// };
// }

// @Post('/lost-account-reset')
// @FilterApiKeyAccess()
// async lostAccoundReset(@Req() req: Request, @Res({ passthrough: true }) res: Response): Promise<any> {
// const user: UserModel = res.locals['user'];
// return {
// info: '😚 200 - Lost API :: Berhasil Reset Password Yeay 🤩',
// result: {
// token: user.session_token
// }
// };
// }

}
2 changes: 1 addition & 1 deletion src/api/controllers/verify-/verify-sosmed.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export class VerifySosmedController {
}
}, HttpStatus.BAD_REQUEST);
}
await this.insertOrUpdate(SosMedModel.DISCORD, user, res_json.id, tokens.refresh_token);
await this.insertOrUpdate(SosMedModel.GOOGLE, user, res_json.id, tokens.refresh_token);
this.ms.sendVerifikasiMail(
{
nama: user.kartu_tanda_penduduk_.nama,
Expand Down

0 comments on commit 3a015d4

Please sign in to comment.