1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-21 08:31:27 -05:00

Remove todo

This commit is contained in:
erik 2023-11-29 11:46:24 +01:00 committed by Michael Jerger
parent 7529b9da91
commit ede86df685

View file

@ -38,8 +38,6 @@ func (a ActorID) validate_is_not_empty(str string, field string) error {
/* /*
Validate collects error strings, concatenates and returns them Validate collects error strings, concatenates and returns them
TODO: Align validation-api to example from dda-devops-build
*/ */
func (a ActorID) Validate() []string { 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) return ActorID{ // ToDo: maybe keep original input to validate against (maybe extra method)
userId: userId, userId: userId,
source: star.Source, source: star.Source,
schema: u.Scheme, // ToDo: Add source type field schema: u.Scheme,
host: u.Host, host: u.Host,
path: u.Path, path: u.Path,
port: u.Port(), port: u.Port(),