Open jfongatyelp opened 5 years ago
At https://github.com/Yelp/love/blob/master/views/tasks.py#L31 we attempt to re-build the love count after reloading employee data, however the default method for Task.add is POST (https://cloud.google.com/appengine/docs/standard/python/refdocs/modules/google/appengine/api/taskqueue/taskqueue#Task.add), while we only allow GET at https://github.com/Yelp/love/blob/master/views/tasks.py#L62
At https://github.com/Yelp/love/blob/master/views/tasks.py#L31 we attempt to re-build the love count after reloading employee data, however the default method for Task.add is POST (https://cloud.google.com/appengine/docs/standard/python/refdocs/modules/google/appengine/api/taskqueue/taskqueue#Task.add), while we only allow GET at https://github.com/Yelp/love/blob/master/views/tasks.py#L62