fix: broken tests

This commit is contained in:
Julian Lam
2025-01-06 16:54:23 -05:00
parent 0ad8ed9d4e
commit 9c78255e36
4 changed files with 6 additions and 2 deletions

View File

@@ -85,7 +85,6 @@ inbox.add = async (req) => {
// Check context of OP
const tid = await posts.getPostField(pid, 'tid');
const context = await topics.getTopicField(tid, 'context');
console.log(context);
if (context) {
const { attributedTo } = await activitypub.get('uid', 0, context);
if (context === target && attributedTo === actor) {