Skip to content

Commit

Permalink
✔ Hmn ~ 🤔
Browse files Browse the repository at this point in the history
  • Loading branch information
bifeldy committed Jun 25, 2023
1 parent 7227afc commit d01d8f6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 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": 1687665114193,
"timestamp": 1687684267628,
"index": "/index.html",
"assetGroups": [
{
Expand Down
2 changes: 1 addition & 1 deletion dist/fansubid/server/main.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/api/controllers/ddl-file.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export class DdlPartController {
const res_raw = await this.api.getData(
new URL(ddlFile.url),
{
Authorization: `Bot ${environment.discord.loginToken}`,
// Authorization: `Bot ${environment.discord.loginToken}`,
Range: req.headers.range || 'bytes=0-',
...environment.nodeJsXhrHeader
},
Expand Down Expand Up @@ -143,7 +143,7 @@ export class DdlSeekController {
const res_raw = await this.api.getData(
new URL(ddlFile.url),
{
Authorization: `Bot ${environment.discord.loginToken}`,
// Authorization: `Bot ${environment.discord.loginToken}`,
Range: headerRangeFull,
...environment.nodeJsXhrHeader
},
Expand Down
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 @@ -135,7 +135,7 @@ export class VerifySosmedController {
const res_raw3 = await this.api.putData(
url3,
JSON.stringify({
access_token: `Bearer ${res_json1.access_token}`
access_token: `${res_json1.token_type} ${res_json1.access_token}`
}),
{
Authorization: `Bot ${environment.discord.loginToken}`,
Expand Down

0 comments on commit d01d8f6

Please sign in to comment.