diff options
author | FChannel <> | 2022-05-07 21:21:38 -0700 |
---|---|---|
committer | FChannel <> | 2022-06-19 12:53:29 -0700 |
commit | f7bf818d29393ceaccf4d2906557351fa6a4f49f (patch) | |
tree | 723e542c8cf0db1e7e64923718977138db77b58d /webfinger/webfinger.go | |
parent | 3c5eebf6275e6d202f8a7b7f027aabcda5c1f332 (diff) |
added error func and general cleanup/organization
Diffstat (limited to 'webfinger/webfinger.go')
-rw-r--r-- | webfinger/webfinger.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webfinger/webfinger.go b/webfinger/webfinger.go index bcbe16a..45650ea 100644 --- a/webfinger/webfinger.go +++ b/webfinger/webfinger.go @@ -33,7 +33,7 @@ func GetActor(id string) (activitypub.Actor, error) { return respActor, nil } - actor, instance := activitypub.GetActorInstance(id) + actor, instance := activitypub.GetActorAndInstance(id) if ActorCache[actor+"@"+instance].Id != "" { respActor = ActorCache[actor+"@"+instance] @@ -70,7 +70,7 @@ func GetActor(id string) (activitypub.Actor, error) { func FingerActor(path string) (activitypub.Actor, error) { var nActor activitypub.Actor - actor, instance := activitypub.GetActorInstance(path) + actor, instance := activitypub.GetActorAndInstance(path) if actor == "" && instance == "" { return nActor, nil |