From d725f93d40adc29557e3e6abee10de91d1116667 Mon Sep 17 00:00:00 2001 From: Michcio Date: Sun, 4 Sep 2022 12:08:06 +0200 Subject: [PATCH] backend: Provide type for signedGet --- packages/backend/src/remote/activitypub/request.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/remote/activitypub/request.ts b/packages/backend/src/remote/activitypub/request.ts index 2cc2a146c..99c2b8d16 100644 --- a/packages/backend/src/remote/activitypub/request.ts +++ b/packages/backend/src/remote/activitypub/request.ts @@ -34,7 +34,7 @@ export default async (user: { id: User['id'] }, url: string, object: any) => { * @param user http-signature user * @param url URL to fetch */ -export async function signedGet(url: string, user: { id: User['id'] }) { +export async function signedGet(url: string, user: { id: User['id'] }): Promise { const keypair = await getUserKeypair(user.id); const req = createSignedGet({