forgot await
This commit is contained in:
parent
f256889224
commit
53faaf4887
|
@ -207,7 +207,7 @@ export const sendAccept = async (user: User, followId: string, follower: string,
|
||||||
|
|
||||||
const result = await signedFetch(inbox, init, init2);
|
const result = await signedFetch(inbox, init, init2);
|
||||||
console.log("response status:", result.status);
|
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);
|
console.log("body:", response);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue