Skip to content

Node.js based forum software built for the modern web

fix: another bad call to request lib

Julian Lam885278842bba
diff --git a/src/activitypub/index.js b/src/activitypub/index.js
index 05efaee674..6331abf5cc 100644
--- a/src/activitypub/index.js
+++ b/src/activitypub/index.js
@@ -189,7 +189,7 @@ ActivityPub.send = async (uid, targets, payload) => {
await Promise.all(inboxes.map(async (uri) => {
const { date, digest, signature } = await ActivityPub.sign(uid, uri, payload);
- const response = await request.post(uri, {
+ const { response } = await request.post(uri, {
headers: {
date,
digest,