The update_graph method was incorrectly updating ElasticSearch with the new JSON contents of an updated graph from API requests. This was a result of a typo in a previous Pull request where the method was being passed as an instance itself instead of calling the method and passing the return value.
Now:
correctly updates the title and tags of graphs in the "my graphs" tab
Purpose
Fixes #453
The update_graph method was incorrectly updating ElasticSearch with the new JSON contents of an updated graph from API requests. This was a result of a typo in a previous Pull request where the method was being passed as an instance itself instead of calling the method and passing the return value.
Now: