fix bug in SyncReorderCategories
This commit is contained in:
@@ -206,7 +206,7 @@ func (v *VendorSync) SyncReorderCategories(ctx *jxcontext.Context, db *dao.DaoDB
|
|||||||
// if !globals.IsUseThingMap {
|
// if !globals.IsUseThingMap {
|
||||||
// return v.oldSyncReorderCategories(ctx, db, categoryID, isAsync, userName)
|
// return v.oldSyncReorderCategories(ctx, db, categoryID, isAsync, userName)
|
||||||
// }
|
// }
|
||||||
return SyncReorderCategories(ctx, -1, isAsync)
|
return SyncReorderCategories(ctx, categoryID, isAsync)
|
||||||
}
|
}
|
||||||
|
|
||||||
// func (v *VendorSync) oldSyncReorderCategories(ctx *jxcontext.Context, db *dao.DaoDB, categoryID int, isAsync bool, userName string) (hint string, err error) {
|
// func (v *VendorSync) oldSyncReorderCategories(ctx *jxcontext.Context, db *dao.DaoDB, categoryID int, isAsync bool, userName string) (hint string, err error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user