cambsull / SteamWebAPILibrary

A JavaScript Library to make calls to the Steam Web API easier
https://cambsull.github.io/SteamWebAPILibrary/
MIT License
4 stars 2 forks source link

Remove redundant conditionals #43

Closed cambsull closed 2 months ago

cambsull commented 2 months ago

As an: engineer

I want: to remove the unnecessary conditional check inside the methods. The handler function is called in every instance regardless.

Because: it will improve efficiency and code patterns.

Acceptance criteria: remove the conditions from async methods and replace with try/catch that returns the handler function.