Yelp / love

A system to share your appreciation
MIT License
142 stars 36 forks source link

Employee load requests invalid love count rebuild #67

Open jfongatyelp opened 5 years ago

jfongatyelp commented 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