{"action":"opened","issue":{"url":"https://api.github.com/repos/akvo/akvo-flow/issues/1655","repository_url":"https://api.github.com/repos/akvo/akvo-flow","labels_url":"https://api.github.com/repos/akvo/akvo-flow/issues/1655/labels{/name}","comments_url":"https://api.github.com/repos/akvo/akvo-flow/issues/1655/comments","events_url":"https://api.github.com/repos/akvo/akvo-flow/issues/1655/events","html_url":"https://github.com/akvo/akvo-flow/issues/1655","id":154180776,"number":1655,"title":"Change forms endpoint on CartoDB maps from cartodb storage to dashboard storage","user":{"login":"kymni","id":1155088,"avatar_url":"https://avatars.githubusercontent.com/u/1155088?v=3","gravatar_id":"","url":"https://api.github.com/users/kymni","html_url":"https://github.com/kymni","followers_url":"https://api.github.com/users/kymni/followers","following_url":"https://api.github.com/users/kymni/following{/other_user}","gists_url":"https://api.github.com/users/kymni/gists{/gist_id}","starred_url":"https://api.github.com/users/kymni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kymni/subscriptions","organizations_url":"https://api.github.com/users/kymni/orgs","repos_url":"https://api.github.com/users/kymni/repos","events_url":"https://api.github.com/users/kymni/events{/privacy}","received_events_url":"https://api.github.com/users/kymni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-11T07:50:00Z","updated_at":"2016-05-11T07:50:00Z","closed_at":null,"body":"The current end point pulls surveys (forms) from the form table in cartodb. At the moment if a survey is deleted from the dashboard, the event is not executed on cartodb so users will see surveys that they already deleted on the form selector.\r\nQuick fix is to change the end point to use the dashboard's surveys endpoint and pass the surveyGroupId. \r\n@muloem any additional thoughts on this?"}}