stage 2, not completed
This commit is contained in:
@@ -86,6 +86,7 @@ func GetDomains(domain string) ([]models.Domain, error) {
|
||||
|
||||
func UpdateDomain(d *models.Domain) error {
|
||||
tx := database.Client.Begin()
|
||||
logrus.Debug(d)
|
||||
if _, err := (domainsDAO{}).Update(tx, d); err != nil {
|
||||
tx.Rollback()
|
||||
return err
|
||||
|
Reference in New Issue
Block a user