aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 157ed78..4f20ad7 100644
--- a/main.go
+++ b/main.go
@@ -1875,7 +1875,7 @@ func GetActor(id string) Actor {
if ActorCache[actor+"@"+instance].Id != "" {
respActor = ActorCache[actor+"@"+instance]
} else {
- req, err := http.NewRequest("GET", id, nil)
+ req, err := http.NewRequest("GET", strings.TrimSpace(id), nil)
CheckError(err, "error with getting actor req")