Parse Transfer expires_at property
Closed this issue · 0 comments
arkaitzgarro commented
Is your feature request related to a problem? Please describe.
The API not returns expires_at
property when a transfer is created, in ISO format: 2018-01-01T00:00:00Z
. Let's parse the property convert it into a Date
object.
Describe the solution you'd like
Convert the date string into a Date
object inside RemoteTransfer
class.
https://github.com/WeTransfer/wt-js-sdk/blob/master/src/transfers/models/remote-transfer.js