3
2
forked from Dniel97/artemis

cardmaker: add missing await (thanks galexion!)

This commit is contained in:
Hay1tsme 2024-01-16 19:19:25 -05:00
parent de013766f6
commit 1c3f52974d

View File

@ -117,7 +117,7 @@ class CardMakerServlet(BaseServlet):
try: try:
handler = getattr(self.versions[internal_ver], func_to_find) handler = getattr(self.versions[internal_ver], func_to_find)
resp = handler(req_data) resp = await handler(req_data)
except Exception as e: except Exception as e:
self.logger.error(f"Error handling v{version} method {endpoint} - {e}") self.logger.error(f"Error handling v{version} method {endpoint} - {e}")