Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

fix register_channel setting of expiry #1231

Closed
pjenvey opened this issue May 12, 2018 · 0 comments
Closed

fix register_channel setting of expiry #1231

pjenvey opened this issue May 12, 2018 · 0 comments
Assignees
Labels

Comments

@pjenvey
Copy link
Member

pjenvey commented May 12, 2018

register_channel attempts to SET the expiry field but it's UpdateExpression is an ADD, which is documented to: "If the attribute is a number, and the value you are adding is also a number, then the value is mathematically added to the existing attribute".

this should be ADD chids :channel_id SET expiry :expiry instead. The rust side already has a fix included in: #1229

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants