Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(egress/record): Remove unnecessary multiplication for ts conversion #98

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

fforbeck
Copy link
Member

Context

This PR fixes the handling of the servedAt timestamp in the
packages/upload-api/src/space/record.js file.

The previous implementation included a multiplication by 1000, assuming
a conversion from seconds to milliseconds was necessary. This change
removes the conversion.

storacha#1588)

### Context
This PR fixes the handling of the `servedAt` timestamp in the
`packages/upload-api/src/space/record.js` file.

The previous implementation included a multiplication by 1000, assuming
a conversion from seconds to milliseconds was necessary. This change
removes the conversion.
@fforbeck fforbeck self-assigned this Dec 11, 2024
@fforbeck fforbeck changed the title fix(egressRecord): Remove unnecessary multiplication for ts conversion fix(egress/record): Remove unnecessary multiplication for ts conversion Dec 11, 2024
@fforbeck fforbeck changed the base branch from feat/create-space-content-serve to main December 12, 2024 12:44
@fforbeck fforbeck merged commit 79ac1ab into main Dec 12, 2024
6 checks passed
fforbeck added a commit that referenced this pull request Dec 12, 2024
🤖 I have created a release *beep* *boop*
---


##
[1.1.8](upload-api-v1.1.7...upload-api-v1.1.8)
(2024-12-12)


### Fixes

* **egress/record:** Remove unnecessary multiplication for ts conversion
([#98](#98))
([79ac1ab](79ac1ab))
* **egress/record:** rename capability
([storacha#1572](https://github.com/storacha/upload-service/issues/1572))
([98ab50c](98ab50c))
* **egress/record:** rename capability
([storacha#1572](https://github.com/storacha/upload-service/issues/1572))
([#97](#97))
([df8b9a2](df8b9a2))
* **egressRecord:** Remove unnecessary multiplication for ts conversion
([storacha#1588](https://github.com/storacha/upload-service/issues/1588))
([1870202](1870202))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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