mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 09:44:00 +01:00
Add ToDo
This commit is contained in:
parent
93d79646de
commit
8a53331283
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ TODO: Align validation-api to example from dda-devops-build
|
||||||
*/
|
*/
|
||||||
func (a ActorID) Validate() []string {
|
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 {
|
if res := a.validate_is_not_empty(a.schema, "schema"); res != nil {
|
||||||
err = append(err, res.Error())
|
err = append(err, res.Error())
|
||||||
|
|
Loading…
Reference in a new issue