Jump to content
McKay Development

Recommended Posts

Any specific format this date object needs to be in?
I was to set "cancelTime": 5*60*1000
Also I tried doing it manually by passing a date object set 5 minutes in the future (my timezone is GBT+3).
After sending the offer and fetching offer.expires the time is correct but 14 days in the future.

Any ideas what might cause this?

Link to comment
Share on other sites

cancelTime - Optional. The time, in milliseconds, that a sent offer can remain Active until it's automatically canceled by the manager. This feature is disabled if omitted. Note that this check is performed on polling, so it will only work as expected if timed polling is enabled. Also note that because polling is on a timer, offers will be canceled between cancelTime and cancelTime + pollInterval

Edited by Andrew
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...