fix: restore hostname prop in getActor method

This commit is contained in:
Julian Lam
2024-01-08 14:45:56 -05:00
parent 7ec75f5830
commit ec3c6b67cd

View File

@@ -45,6 +45,8 @@ ActivityPub.getActor = async (uid, input) => {
actor.followerCount = followers.totalItems;
actor.followingCount = following.totalItems;
actor.hostname = new URL(uri).hostname;
actorCache.set(uri, actor);
return actor;
} catch (e) {