hotosm / galaxy-api

Backend to fetch data from Underpass
https://galaxy-api.hotosm.org/latest/redoc
GNU Affero General Public License v3.0
14 stars 5 forks source link

Fix the /auth/me/ endpoint (at least) in development environment #324

Closed NicolasGrosjean closed 2 years ago

NicolasGrosjean commented 2 years ago
kshitijrajsharma commented 2 years ago

Can you share your output with /auth/me/ , You can hide your credentials ! I just want to see the output of endpoint @NicolasGrosjean

NicolasGrosjean commented 2 years ago

@kshitijrajsharma My output in local with adding myself as admin in local underpass BDD is

{
  "id": 8833442,
  "username": "NicolasGrosjean",
  "img_url": null,
  "role": "ADMIN"
}

In fact I have no image in my OSM account, that's why I have an issue.

kshitijrajsharma commented 2 years ago

Cool ! That's edge case we were missing @NicolasGrosjean Thanks for the PR ! Cheers !