logging
This commit is contained in:
parent
b44167b16b
commit
f1211f98a7
|
@ -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[]) => {
|
||||
|
|
Loading…
Reference in New Issue