This commit is contained in:
Moon Man 2023-12-27 11:33:58 -05:00
parent b44167b16b
commit f1211f98a7
1 changed files with 3 additions and 1 deletions

View File

@ -204,7 +204,9 @@ export const sendAccept = async (user: User, follower: string, inbox: string) =>
const init: RequestInit = { method: "POST", body: payload };
const init2 = { hash, privateKey: user.private_key, keyId: getKeyId(user.nickname) };
await signedFetch(inbox, init, init2);
const result = await signedFetch(inbox, init, init2);
console.log("response status:", result.status);
console.log("body:", result.body);
};
export const sendAll = async (keyId: string, privateKey: string, activity: Record<string, any> | string, inboxes: string[]) => {