aboutsummaryrefslogtreecommitdiff
path: root/webfinger/webfinger.go
diff options
context:
space:
mode:
authorFChannel <>2022-04-30 11:00:55 -0700
committerFChannel <>2022-06-19 12:53:29 -0700
commit1892327cee2c3fa1d3bea729bd08eb63c2189a96 (patch)
tree7b846f7d9caf46fba6c9d15ff81b9d89dcca9476 /webfinger/webfinger.go
parent5b52d269faa2ce2014d0feba603a2122361cf4eb (diff)
restructured code base to prevent circular dependicies
Diffstat (limited to 'webfinger/webfinger.go')
-rw-r--r--webfinger/webfinger.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/webfinger/webfinger.go b/webfinger/webfinger.go
index d937ae4..210a3d6 100644
--- a/webfinger/webfinger.go
+++ b/webfinger/webfinger.go
@@ -32,7 +32,7 @@ func GetActor(id string) (activitypub.Actor, error) {
return respActor, nil
}
- actor, instance := util.GetActorInstance(id)
+ actor, instance := activitypub.GetActorInstance(id)
if ActorCache[actor+"@"+instance].Id != "" {
respActor = ActorCache[actor+"@"+instance]
@@ -69,7 +69,7 @@ func GetActor(id string) (activitypub.Actor, error) {
func FingerActor(path string) (activitypub.Actor, error) {
var nActor activitypub.Actor
- actor, instance := util.GetActorInstance(path)
+ actor, instance := activitypub.GetActorInstance(path)
if actor == "" && instance == "" {
return nActor, nil