Oops, add the session to /clipboard.

This commit is contained in:
voussoir 2018-02-24 19:18:15 -08:00
parent 0228fbebfd
commit 4e98fcf137

View file

@ -170,7 +170,8 @@ def post_batch_photos_refresh_metadata():
@site.route('/clipboard')
@session_manager.give_token
def get_clipboard_page():
return flask.render_template('clipboard.html')
session = session_manager.get(request)
return flask.render_template('clipboard.html', session=session)
@site.route('/batch/photos/photo_card', methods=['POST'])
@decorators.required_fields(['photo_ids'], forbid_whitespace=True)