Skip to content

Conversation

@CrosswaveOmega
Copy link
Contributor

Fixes #145 (comment).

The Raw Arrowhead API has a chance of crashing if fromTimestamp isn't included in the request.

This Pull Request fixes that.

adding From_Timestamp to NewsFeed task
Adding NewsFeedFromTimestamp
added NewsFeedFromTimestamp into ArrowHeadApiService, this prevents a crash.
@CrosswaveOmega CrosswaveOmega requested a review from dealloc as a code owner July 25, 2025 20:19
Copy link

@raginmari raginmari left a comment

Choose a reason for hiding this comment

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

Thanks for taking care of this. I have a few remarks.

Copy link
Member

@dealloc dealloc left a comment

Choose a reason for hiding this comment

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

some whitespace changes, but the bigger one is the NewsFeedFromTimestamp flag itself.
Is there any reason we're not just passing in 0 (which from rudimentary testing seems to work).

And if we'd just pass in 0, I would remove the flag itself entirely

Copy link
Member

@dealloc dealloc left a comment

Choose a reason for hiding this comment

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

looks good, minor style changes and we're good to go on this one

Copy link
Member

@dealloc dealloc left a comment

Choose a reason for hiding this comment

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

Getting there

Co-authored-by: Wannes Gennar <dealloc@users.noreply.github.com>
@dealloc dealloc merged commit e82f042 into helldivers-2:master Jul 28, 2025
2 checks passed
@dealloc
Copy link
Member

dealloc commented Jul 28, 2025

rolling out in v3.2.0

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.

[BUG]: /v1/dispatches returns 10 dispatches from 2024 only

3 participants