forked from forgejo/forgejo
fix migrate API
This commit is contained in:
parent
8481adb255
commit
e5b105e513
3 changed files with 9 additions and 20 deletions
|
@ -35,10 +35,10 @@ type MigrateRepoForm struct {
|
|||
CloneAddr string `binding:"Required"`
|
||||
AuthUsername string
|
||||
AuthPassword string
|
||||
Mirror bool
|
||||
Uid int64 `binding:"Required"`
|
||||
RepoName string `binding:"Required;AlphaDashDot;MaxSize(100)"`
|
||||
Private bool
|
||||
Mirror bool
|
||||
Description string `binding:"MaxSize(255)"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue