fix: use uuid() instead of getID() in dspy files
This commit is contained in:
parent
8a2d8b39aa
commit
f8c2347292
@ -5,7 +5,7 @@ try:
|
|||||||
dbname = get_module_dbname('discount')
|
dbname = get_module_dbname('discount')
|
||||||
|
|
||||||
data = dict(params_kw)
|
data = dict(params_kw)
|
||||||
data['id'] = getID()
|
data['id'] = uuid()
|
||||||
data['resellerid'] = user_orgid
|
data['resellerid'] = user_orgid
|
||||||
|
|
||||||
async with DBPools().sqlorContext(dbname) as sor:
|
async with DBPools().sqlorContext(dbname) as sor:
|
||||||
|
|||||||
@ -5,7 +5,7 @@ try:
|
|||||||
dbname = get_module_dbname('discount')
|
dbname = get_module_dbname('discount')
|
||||||
|
|
||||||
data = dict(params_kw)
|
data = dict(params_kw)
|
||||||
data['id'] = getID()
|
data['id'] = uuid()
|
||||||
data['resellerid'] = user_orgid
|
data['resellerid'] = user_orgid
|
||||||
|
|
||||||
async with DBPools().sqlorContext(dbname) as sor:
|
async with DBPools().sqlorContext(dbname) as sor:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user