# HG changeset patch # User bsw # Date 1647941135 -3600 # Node ID a01d5c0604de3567cf245972b9592067f7b700b5 # Parent accb808d5b4aff27bbcaa1966e3e8b6386b3c882 Removed debug output diff -r accb808d5b4a -r a01d5c0604de lib/token/sync.lua --- a/lib/token/sync.lua Tue Mar 22 10:19:22 2022 +0100 +++ b/lib/token/sync.lua Tue Mar 22 10:25:35 2022 +0100 @@ -31,13 +31,11 @@ end for i, entry in ipairs(data.data.balanceNotificationMany) do - print(entry.account_pk, entry.amount) local member = Member:new_selector() :join("member_profile", nil, "member_profile.member_id = member.id") :add_where{ "member_profile.profile->>'" .. config.token.key_profile_field .."' = ?", entry.account_pk } :optional_object_mode() :exec() - print(member.name) if member then local privilege = Privilege:new() privilege.unit_id = config.token.unit_id