EOT-Event-Organizer-s-Toolbox / eot-codebase

The Event Organizer's Toolbox aims to provide a platform where event organizers can manage important information pertaining to their events without having to use multiple additional tools to stay organized.
https://event-organizers-toolbox.fly.dev/
9 stars 12 forks source link

Patch return current user from server with http codes #238

Closed igMike-V closed 1 year ago

igMike-V commented 1 year ago

Fixes an issue where requesting the current user from the API endpoint (api/auth/user) was returning an object or null.

Added appropriate http response codes and json message.

null user for unauthenticated / current user as if session exists.

igMike-V commented 1 year ago

Ignore this. closing. this contains edits from another WIP branch.