chg: admin creation
This commit is contained in:
@@ -98,7 +98,7 @@ func createLicenceCategories() []models.LicenceCategory {
|
||||
{Category: "CE"},
|
||||
{Category: "D1E"},
|
||||
{Category: "DE"},
|
||||
{Category: "R"},
|
||||
{Category: "T"},
|
||||
{Category: "L"},
|
||||
}
|
||||
}
|
||||
@@ -142,16 +142,12 @@ func createAdmin(userMail string, subscriptionModelID uint) (*models.User, error
|
||||
StartDate: time.Now(),
|
||||
SubscriptionModelID: subscriptionModelID,
|
||||
},
|
||||
BankAccount: models.BankAccount{
|
||||
AccountHolderName: "",
|
||||
Bank: "",
|
||||
IBAN: "", //"DE49700500000008447644", //fake
|
||||
},
|
||||
BankAccount: models.BankAccount{},
|
||||
DriversLicence: models.DriversLicence{
|
||||
Status: constants.UnverifiedStatus,
|
||||
},
|
||||
}, nil
|
||||
|
||||
//"DE49700500000008447644", //fake
|
||||
}
|
||||
|
||||
func Close() error {
|
||||
|
||||
Reference in New Issue
Block a user