From 53faaf4887ef62ce714a52e0a2a0ff60231e7c44 Mon Sep 17 00:00:00 2001 From: Moon Man Date: Sat, 30 Dec 2023 23:56:06 -0500 Subject: [PATCH] forgot await --- src/activity.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/activity.ts b/src/activity.ts index ecdfc9e..3a121f5 100644 --- a/src/activity.ts +++ b/src/activity.ts @@ -207,7 +207,7 @@ export const sendAccept = async (user: User, followId: string, follower: string, const result = await signedFetch(inbox, init, init2); console.log("response status:", result.status); - const response = streamToString(result.body as ReadableStream); + const response = await streamToString(result.body as ReadableStream); console.log("body:", response); };