Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

fix(search): Contributors page errors with empty date string#63182

Merged
fkling merged 1 commit into
mainfrom
fkling/srch-497-page-broken-on-main-sourcegraphcomstatscontributors
Jun 11, 2024
Merged

fix(search): Contributors page errors with empty date string#63182
fkling merged 1 commit into
mainfrom
fkling/srch-497-page-broken-on-main-sourcegraphcomstatscontributors

Conversation

@fkling

@fkling fkling commented Jun 10, 2024

Copy link
Copy Markdown
Contributor

Fixes SRCH-497

The contributors page currently fails to load properly because we are passing an empty date string by default. This fixes it.

Test plan

https://sourcegraph.test:3443/github.com/sourcegraph/sourcegraph/-/stats/contributors loads without error

It seems we have changed something on the backend that causes empty date
strings to know cause errors. This commit changes the logic to pass
`null` instead.
@fkling fkling requested a review from a team June 10, 2024 11:59
@fkling fkling self-assigned this Jun 10, 2024
@cla-bot cla-bot Bot added the cla-signed label Jun 10, 2024
@fkling fkling merged commit ce83585 into main Jun 11, 2024
@fkling fkling deleted the fkling/srch-497-page-broken-on-main-sourcegraphcomstatscontributors branch June 11, 2024 04:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants