forked from shaba/openuds
Fixed saving stats events (field conversion ignored original field name)
This commit is contained in:
parent
ba7b1c0198
commit
c3531f3e7e
@ -211,7 +211,8 @@ class StatsManager(metaclass=singleton.Singleton):
|
||||
try:
|
||||
|
||||
def getKwarg(fld: str) -> str:
|
||||
val = None
|
||||
val = kwargs.get(fld)
|
||||
if val is None:
|
||||
for i in FLDS_EQUIV[fld]:
|
||||
val = kwargs.get(i)
|
||||
if val is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user