fix: get_organizations/get_upapps返回providerid_text/upappid_text格式匹配alters字段名
This commit is contained in:
parent
93e3f17a67
commit
a228095220
@ -8,7 +8,7 @@ try:
|
||||
)
|
||||
if orgs:
|
||||
for r in orgs:
|
||||
result.append({'value': str(r.id), 'text': r.orgname or ''})
|
||||
result.append({'providerid': str(r.id), 'providerid_text': r.orgname or ''})
|
||||
except Exception as e:
|
||||
debug(f'get_organizations error: {e}')
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ try:
|
||||
)
|
||||
if apps:
|
||||
for r in apps:
|
||||
result.append({'value': str(r.id), 'text': r.name or ''})
|
||||
result.append({'upappid': str(r.id), 'upappid_text': r.name or ''})
|
||||
except Exception as e:
|
||||
debug(f'get_upapps error: {e}')
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user