worked on account creation

This commit is contained in:
Torkel Ödegaard
2015-01-20 16:29:48 +01:00
parent eec178458b
commit 9e6df378c3
5 changed files with 38 additions and 3 deletions
+3 -1
View File
@@ -21,8 +21,10 @@ type Account struct {
// COMMANDS
type CreateAccountCommand struct {
Name string `json:"name"`
Name string `json:"name" binding:"Required"`
// initial admin user for account
UserId int64 `json:"-"`
Result Account `json:"-"`
}