Remove send_order from ajax handler

This commit is contained in:
amcmanu3 2023-08-16 13:41:18 -04:00
parent d6dd30b685
commit 481eff9486

View File

@ -114,13 +114,7 @@ class AjaxHandler(BaseHandler):
if api_key is not None:
superuser = superuser and api_key.superuser
if page == "send_order":
self.controller.users.update_server_order(
exec_user["user_id"], bleach.clean(self.get_argument("order"))
)
return
elif page == "select_photo":
if page == "select_photo":
if exec_user["superuser"]:
photo = urllib.parse.unquote(self.get_argument("photo", ""))
opacity = self.get_argument("opacity", 100)