fixing asset path

This commit is contained in:
Roland Osborne 2024-01-15 10:10:28 -08:00
parent fbe13f35c2
commit 607111071b

View File

@ -25,7 +25,7 @@ func SetPath(storePath string, transformPath string) {
if res := tx.Clauses(clause.OnConflict{
Columns: []clause.Column{{Name: "config_id"}},
DoUpdates: clause.AssignmentColumns([]string{"str_value"}),
}).Create(&Config{ConfigID: "asset_path", StrValue: storePath + "/assets"}).Error; res != nil {
}).Create(&Config{ConfigID: "asset_path", StrValue: storePath}).Error; res != nil {
return res
}
return nil