From f8b132310c6be9d01aea328f4c46e2c46bb71e7d Mon Sep 17 00:00:00 2001 From: Nathan Byrd Date: Tue, 24 Jan 2023 19:16:14 -0600 Subject: [PATCH] Cleaned up missing ./const --- core/activitypub/activity.js | 3 +-- core/activitypub/actor.js | 4 ++-- core/activitypub/object.js | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/core/activitypub/activity.js b/core/activitypub/activity.js index a5af0416..03ea46c9 100644 --- a/core/activitypub/activity.js +++ b/core/activitypub/activity.js @@ -1,5 +1,4 @@ -const { selfUrl } = require('./util'); -const { WellKnownActivityTypes } = require('./const'); +const { selfUrl, WellKnownActivityTypes } = require('./util'); const ActivityPubObject = require('./object'); const { Errors } = require('../enig_error'); const UserProps = require('../user_property'); diff --git a/core/activitypub/actor.js b/core/activitypub/actor.js index 5466107f..4db3f074 100644 --- a/core/activitypub/actor.js +++ b/core/activitypub/actor.js @@ -5,13 +5,13 @@ const { Errors } = require('../enig_error.js'); const UserProps = require('../user_property'); const { + ActivityStreamsContext, webFingerProfileUrl, makeUserUrl, selfUrl, isValidLink, makeSharedInboxUrl, -} = require('../activitypub/util'); -const { ActivityStreamsContext } = require('./const'); +} = require('./util'); const Log = require('../logger').log; const { queryWebFinger } = require('../webfinger'); const EnigAssert = require('../enigma_assert'); diff --git a/core/activitypub/object.js b/core/activitypub/object.js index e8149757..d2286f45 100644 --- a/core/activitypub/object.js +++ b/core/activitypub/object.js @@ -1,4 +1,4 @@ -const { ActivityStreamsContext } = require('./const'); +const { ActivityStreamsContext } = require('./util'); const { WellKnownLocations } = require('../servers/content/web'); // deps