rename snapshot endpoint to thumbnail

This commit is contained in:
Blake Blackshear 2021-01-16 11:34:09 -06:00
parent 47ac77dbb0
commit eb0a5e1c55

View File

@ -88,7 +88,7 @@ def event(id):
except DoesNotExist:
return "Event not found", 404
@bp.route('/events/<id>/snapshot.jpg')
@bp.route('/events/<id>/thumbnail.jpg')
def event_snapshot(id):
format = request.args.get('format', 'ios')
thumbnail_bytes = None