- fix bug in checkStoreExisting
This commit is contained in:
@@ -563,7 +563,7 @@ func setStoreSkuBindStatus(skuBind *model.StoreSkuBind, status int8) {
|
||||
}
|
||||
|
||||
func checkStoreExisting(db *dao.DaoDB, storeID int) (err error) {
|
||||
store := model.Store{}
|
||||
store := &model.Store{}
|
||||
store.ID = storeID
|
||||
if err = dao.GetEntity(db, store); err != nil {
|
||||
if err == orm.ErrNoRows {
|
||||
|
||||
Reference in New Issue
Block a user