fix: add_apikey uses 'apikey' variable instead of undefined 'id'
This commit is contained in:
parent
b2369cd00c
commit
c96acba94f
@ -197,7 +197,7 @@ async def add_apikey(sor, dappid, dorgid, duserid, orgid, userid):
|
||||
'duserid': duserid,
|
||||
'orgid': orgid,
|
||||
'userid': userid,
|
||||
'apikey': id,
|
||||
'apikey': apikey,
|
||||
'enabled': '1',
|
||||
'created_at': curDateString(),
|
||||
'expired_date': '9999-12-31'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user