mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 11:54:33 +03:00
d42d112eba
no issue The default scheduling generates a known, independent URL for publishing a resource. In case of resource being rescheduled or unscheduled, the adapter expects the the same URL to remove/update existing jobs. The URL includes a JWT token for API auth which is calculated from post model and appended to URL. There was a bug in token generation which meant If we go to update or delete the job i.e. unschedule a post then a new token is used which means the existing scheduled job cannot be removed. This PR: - removes issued at (`iat`) timestamp from token generation which lead to a different token being generated for same payload - Fixes timestamp being used for URL calculation from resource model |
||
---|---|---|
.. | ||
scheduling | ||
storage |