From ede86df6858a1c94b75e43af822828573c1a4f1f Mon Sep 17 00:00:00 2001 From: erik Date: Wed, 29 Nov 2023 11:46:24 +0100 Subject: [PATCH] Remove todo --- models/activitypub/actor.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/models/activitypub/actor.go b/models/activitypub/actor.go index aa07590ec0..37619bddde 100644 --- a/models/activitypub/actor.go +++ b/models/activitypub/actor.go @@ -38,8 +38,6 @@ func (a ActorID) validate_is_not_empty(str string, field string) error { /* Validate collects error strings, concatenates and returns them - -TODO: Align validation-api to example from dda-devops-build */ func (a ActorID) Validate() []string { @@ -114,7 +112,7 @@ func ParseActorFromStarActivity(star *forgefed.Star) (ActorID, error) { return ActorID{ // ToDo: maybe keep original input to validate against (maybe extra method) userId: userId, source: star.Source, - schema: u.Scheme, // ToDo: Add source type field + schema: u.Scheme, host: u.Host, path: u.Path, port: u.Port(),