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