mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-22 05:36:16 +00:00
Add ToDo
This commit is contained in:
parent
93d79646de
commit
8a53331283
|
@ -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