yearn / ape-tax

https://ape.tax
46 stars 34 forks source link

refactor: Standardize the structure of the conditionals #231

Closed Itzabelli closed 1 year ago

Itzabelli commented 1 year ago

Description

The purpose of this PR is to make the all api endpoints of the function are more readable. This change is made taking as an example the structure of the first conditional, where the ‘URLSearchParams' object is used to divide the string into pieces for easily understood.

Related Issue

N/A

Motivation and Context

The motivation to apply this change is to standardize the structure of the conditionals and allow the api endpoints more readable.

How Has This Been Tested?

After making the changes I ran yarn dev and confirmed that everything appeared as expected

Resources

N/A

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
ape-tax ✅ Ready (Inspect) Visit Preview Aug 13, 2023 4:18am