Skip to content

Commit

Permalink
fix: amendment version data source changed (#954)
Browse files Browse the repository at this point in the history
## High Level Overview of Change

<!--
Please include a summary/list of the changes.
If too broad, please consider splitting into multiple PRs.
-->
The repo `xrpl-dev-portal` was updated recently. The data source link
for fetching amendment version needs to be updated accordingly to ensure
data shows up.

### Type of Change

<!--
Please check relevant options, delete irrelevant ones.
-->

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] Refactor (non-breaking change that only restructures code)
- [ ] Tests (You added tests for code that already exists, or your new
feature included in this PR)
- [ ] Documentation Updates
- [ ] Translation Updates
- [ ] Release

## Test Plan

<!--
Please describe the tests that you ran to verify your changes and
provide instructions so that others can reproduce.
-->
Pass tests.
  • Loading branch information
pdp2121 authored Mar 5, 2024
1 parent f67721d commit bc07c1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/containers/shared/amendmentUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export async function nameOfAmendmentID(id: string) {

async function fetchMinRippledVersions() {
const response = await axios.get(
'https://raw.githubusercontent.com/XRPLF/xrpl-dev-portal/master/content/resources/known-amendments.md',
'https://raw.githubusercontent.com/XRPLF/xrpl-dev-portal/b3cb2c667a03f0b043989958706497bf54c74cc2/resources/known-amendments.md',
)
const text = response.data
const mapping: any = {}
Expand Down

0 comments on commit bc07c1e

Please sign in to comment.