You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe he ran into the same issue as me, trying to pass in notBefore and delay timestamps in milliseconds instead of seconds.
It would be pretty sweet if the api client could support milliseconds as that is the standard in js.
Here is what I do now notBefore: Math.floor(nextInviteDate?.getTime() / 1000),
Activity
chronark commentedon Aug 1, 2023
Hey, you can set a delay in seconds when publishing a message, does that not work for you?
Or absolute timestamp:
https://github.com/upstash/sdk-qstash-ts/blob/359a55ee6d87d1d8af94abbcddc7b76d3d97d145/pkg/client/client.ts#L88
kristianeboe commentedon Sep 12, 2023
Maybe he ran into the same issue as me, trying to pass in notBefore and delay timestamps in milliseconds instead of seconds.
It would be pretty sweet if the api client could support milliseconds as that is the standard in js.
Here is what I do now
notBefore: Math.floor(nextInviteDate?.getTime() / 1000),