Example #1
0
def complaint():
	if request.method == "POST":
		return update(id=request.json["id"], field="complaint")
Example #2
0
def likes():
	if request.method == "POST":
		return update(id=request.json["id"], field="likes")