rename snapshot endpoint to thumbnail

This commit is contained in:
Blake Blackshear 2021-01-16 11:34:09 -06:00
parent 21ece238ff
commit 49b29d72a7

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