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