Skip to content

Conversation

fsasieta
Copy link

Noticed the implementation here differed from the documentation in a few places that made serialization failed, so added the fixes here. They are backwards compatible and I have tested them manually.

pub struct Response {
/// Unix timestamp (in seconds) when this Response was created.
pub created_at: u64,
pub created_at: f64,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
pub created_at: f64,
pub created_at: u64,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants