refactor: Make request related handle calls consistent

This commit is contained in:
Joachim Van Herwegen
2021-01-11 11:32:15 +01:00
parent 995a2dc74d
commit f17054c647
12 changed files with 45 additions and 38 deletions

View File

@@ -34,7 +34,7 @@ export class DPoPWebIdExtractor extends CredentialsExtractor {
if (!dpop) {
throw new BadRequestHttpError('No DPoP header specified.');
}
const resource = await this.targetExtractor.handleSafe(request);
const resource = await this.targetExtractor.handleSafe({ request });
try {
const { webid: webId } = await this.verify(