fossasia / open-event-server

The Open Event Organizer Server to Manage Events https://test-api.eventyay.com
https://api.eventyay.com
GNU General Public License v3.0
2.97k stars 1.89k forks source link

On creating a new event, list of all events doesn't get updated #4760

Closed nikit19 closed 6 years ago

nikit19 commented 6 years ago

I'm submitting a ... (check one with "x")

Current behavior:

On creating a new event, list of all events doesn't get updated

Expected behaviour:

The newly created event should get added to the list of all events

Steps to reproduce: Create a new event. Use the API to get the list of all events.

poush commented 6 years ago

Are you checking events through logged account or browsing as guest ? because this could be due to unpublished events.

nikit19 commented 6 years ago

I am checking events on postman by sending a get request to this endpoint https://open-event-api-dev.herokuapp.com/v1/events to see the list of all created events.It

poush commented 6 years ago

with auth token? ( if you didn't published event yet then you need it to see the event)

nikit19 commented 6 years ago

yes with auth token

bhaveshAn commented 6 years ago

working fine locally for me ...

dr0pdb commented 6 years ago

It's working fine locally for me too. @nikit19 Please use your own heroku deployment.

nikit19 commented 6 years ago

https://open-event-api-dev.herokuapp.com But any idea why it is not working here ?

dr0pdb commented 6 years ago

Orga app uses the dev endpoint as well and it's working for it too. Please verify again :)

videotogif_2018 05 23_13 54 15

nikit19 commented 6 years ago

Yes it is working. Sorry for the confusion.