fix: properly supply resolver (2)

This commit is contained in:
Johann150 2022-12-08 19:06:55 +01:00
parent 1faf1035f9
commit fde751df8f
Signed by untrusted user: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -79,7 +79,7 @@ export default async (job: Bull.Job<InboxJobData>): Promise<string> => {
// lets assume that the creator has this common form:
// <https://example.com/users/user#main-key>
// Then we can use it as the key id and (without fragment part) user id.
authUser = await getAuthUser(activity.signature.creator, activity.signature.creator.replace(/#.*$/, ''));
authUser = await getAuthUser(activity.signature.creator, activity.signature.creator.replace(/#.*$/, ''), resolver);
if (authUser == null) {
return 'skip: failed to resolve LD-Signature user';