Murali-group / GraphSpace

The interactive graph sharing website.
http://graphspace.org
GNU General Public License v2.0
30 stars 41 forks source link

Incorrect output error when making tag private that I do not own #94

Closed ategge closed 9 years ago

ategge commented 9 years ago

I tried to make the public graphs with the tag '2014-ismb-signaling-hypergraphs' private. Anna owns these graphs and I do not think they are even shared with me. After executing the curl command, I reveived the following success statement: { "Message": "Graph with tag have been made private", "StatusCode": 200 } The graphs are still public, so I did not make them private. The message returned is just not accurate for the tag I provided. Perhaps a statement like "User does not own graphs" or "User does not own any graphs with tag XXX" may be more helpful.

DSin52 commented 9 years ago

Fixed. I forgot to include my error handling check which checks to see if the REST API URL and the POST username are the same. If they are not, it does not run the function.