mirror of https://github.com/MISP/misp-dashboard
fix: use nowSec instead of the undefiend timestamp
parent
98deecbf31
commit
57abda40c7
|
@ -143,7 +143,7 @@ def handleContribution(zmq_name, org, contribType, categ, action, pntMultiplier=
|
||||||
pnts_to_add = DEFAULT_PNTS_REWARD
|
pnts_to_add = DEFAULT_PNTS_REWARD
|
||||||
|
|
||||||
# if there is a contribution, there is a login (even if ti comes from the API)
|
# if there is a contribution, there is a login (even if ti comes from the API)
|
||||||
users_helper.add_user_login(timestamp, org)
|
users_helper.add_user_login(nowSec, org)
|
||||||
|
|
||||||
# is a valid contribution
|
# is a valid contribution
|
||||||
if categ is not None:
|
if categ is not None:
|
||||||
|
|
Loading…
Reference in New Issue