Oscorp-HQ / quash-max

Quash: All-in-one bug reporting for mobile apps. Capture crashes, replays, and logs with shake-to-report. Auto-collect vital data, integrate with popular tools. Built by devs, for devs. Boost app quality and streamline debugging.
https://quashbugs.com
MIT License
33 stars 7 forks source link

Revamp User Controller #20

Open Hemanthr1 opened 3 months ago

Hemanthr1 commented 3 months ago

Issue Description

Refactor the User Controller by removing the use of authentication.getAuthenticated() and implement authentication handling using try-catch blocks.

Expected Behavior

The User Controller should robustly manage authentication errors through proper exception handling, enhancing overall stability.

Actual Behavior

The current implementation relies on authentication.getAuthenticated(), which may not adequately handle exceptions.

JishnuGoyal commented 2 months ago

Hi @Hemanthr1 , I would like to work on this issue. Could you please assign this to me?

ironmark3 commented 2 months ago

@JishnuGoyal assigned!

JishnuGoyal commented 2 months ago

Thanks for assigning me this @ironmark3 . I have linked a PR and waiting for a review :)