Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-22 09:54:24 +01:00
This commit is contained in:
erik 2023-11-24 14:01:32 +01:00 committed by Michael Jerger
parent 93d79646de
commit 8a53331283

View file

@ -43,7 +43,7 @@ TODO: Align validation-api to example from dda-devops-build
*/
func (a ActorID) Validate() []string {
err := make([]string, 0, 3)
err := make([]string, 0, 3) // ToDo: Solve this dynamically
if res := a.validate_is_not_empty(a.schema, "schema"); res != nil {
err = append(err, res.Error())