liquid_feedback_frontend
changeset 1851:a01d5c0604de
Removed debug output
author | bsw |
---|---|
date | Tue Mar 22 10:25:35 2022 +0100 (2022-03-22) |
parents | accb808d5b4a |
children | e593570a23c5 |
files | lib/token/sync.lua |
line diff
1.1 --- a/lib/token/sync.lua Tue Mar 22 10:19:22 2022 +0100 1.2 +++ b/lib/token/sync.lua Tue Mar 22 10:25:35 2022 +0100 1.3 @@ -31,13 +31,11 @@ 1.4 end 1.5 1.6 for i, entry in ipairs(data.data.balanceNotificationMany) do 1.7 - print(entry.account_pk, entry.amount) 1.8 local member = Member:new_selector() 1.9 :join("member_profile", nil, "member_profile.member_id = member.id") 1.10 :add_where{ "member_profile.profile->>'" .. config.token.key_profile_field .."' = ?", entry.account_pk } 1.11 :optional_object_mode() 1.12 :exec() 1.13 - print(member.name) 1.14 if member then 1.15 local privilege = Privilege:new() 1.16 privilege.unit_id = config.token.unit_id