fixing remove user responed 200
This commit is contained in:
parent
fe899f97ad
commit
f3e428bd0e
1 changed files with 1 additions and 2 deletions
|
@ -14,7 +14,6 @@ def create_event():
|
|||
try:
|
||||
data = request.json
|
||||
data['user_id'] = g.user_id
|
||||
print(data)
|
||||
new_event = EventService.create_event(data)
|
||||
if new_event:
|
||||
return jsonify(new_event.to_dict()), 201
|
||||
|
|
Loading…
Reference in a new issue