Merge branch 'main' of ssh://10.0.3.4/moon/activitypress

This commit is contained in:
Moon Man 2023-12-27 16:35:12 +00:00
commit c5223fc816
1 changed files with 3 additions and 1 deletions

View File

@ -205,7 +205,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[]) => {