Skip to content

ios17 komga download fix #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 0.8
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/Paperback/Paperback.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ export class KomgaRequestInterceptor implements SourceInterceptor {
// raising an error in getAuthorizationString when we check for its existence
// Thus we only inject an authorizationString if none are defined in the request
if (request.headers.authorization === undefined) {
request.headers.authorization = await getAuthorizationString(this.stateManager)
request.headers = {
'authorization': await getAuthorizationString(this.stateManager)
}
}
return request
}
Expand Down