InternetHealthReport / ihr-website

Vue.js code for IHR website
https://ihr.iijlab.net/ihr/en
GNU General Public License v3.0
65 stars 122 forks source link

Enhancement for IHR API #702

Closed RickDeb2004 closed 9 months ago

RickDeb2004 commented 11 months ago

Following issues I have noticed: Callback:

Repeated Axios Configuration:

less use of async/await for asynchronous operations to improve code readability. Inconsistent error handling

RickDeb2004 commented 11 months ago

@mohamedawnallah what's your suggestion for this issue ?..should I work on this

romain-fontugne commented 11 months ago

could you give an example where you want to update the code?

chaitanya-uniyal commented 10 months ago

has this issue been fixed ??? if not then , i would like to work on this....

mohamedawnallah commented 10 months ago

I'm not sure if we need to refactor the Promise-based approach to async await syntactic sugar approach for handling the asynchronous operations since the codebase is a mix of both for achieving the same purpose.