Closed dostuffthatmatters closed 3 years ago
Same thing for a new survey I created. The first version of the config (template from creation) will be returned.
After the server has shut down once the new version was returned.
This is related to #49, will fix that soon, sorry for the wait! Due to the error thrown the survey cache is not updated, when you restart the server, the survey is loaded freshly from the database again, that's why it works afterwards.
No worries :) I have enough stuff to do left 😅
I am using the current
backend.dev.fastsurvey.io
server.I used
GET https://backend.dev.fastsurvey.io/users/dostuffthatmatters/surveys/badum
to fetch a config. After that I modified the description in the console (in the database it has also been updated).However, the fetch-config response from the backend remains unchanged. After five minutes (server has not shut down) the response is still the same. But
/users/dostuffthatmatters/surveys
(fetch all configs with authentication) works fine.Both
testing
andproduction
don't have thedostuffthatmatters
account so I am sure that all of this is using the same database.