summary refs log tree commit diff stats
path: root/components
diff options
context:
space:
mode:
authorsuhas <hi@suhas.one>2023-11-16 23:28:30 -0600
committersuhas <hi@suhas.one>2023-11-16 23:28:30 -0600
commita3e3ecebe52a85b2f667b1d05de9b4d5ce23439e (patch)
tree7001fa61c1e53066057b3a7f172958e7bde51934 /components
parent92069ffda5f1866f597d678593f377754d0e14e4 (diff)
downloadqbb-a3e3ecebe52a85b2f667b1d05de9b4d5ce23439e.tar.gz
actual final db issues fix hopefully
Diffstat (limited to 'components')
-rw-r--r--components/AnswerModal.py2
-rw-r--r--components/__pycache__/AnswerModal.cpython-311.pycbin10307 -> 10279 bytes
2 files changed, 1 insertions, 1 deletions
diff --git a/components/AnswerModal.py b/components/AnswerModal.py
index e5b394c..f53a344 100644
--- a/components/AnswerModal.py
+++ b/components/AnswerModal.py
@@ -22,7 +22,7 @@ class Answer(Modal, title="Submit Answer"):
 
     async def on_submit(self, interaction: Interaction) -> None:
         c = AsyncClient()
-        db = Prisma(auto_register=True)
+        db = Prisma()
         answer_check_resp = await c.get(
             "https://qbreader.org/api/check-answer",
             params={
diff --git a/components/__pycache__/AnswerModal.cpython-311.pyc b/components/__pycache__/AnswerModal.cpython-311.pyc
index 1640197..b969caa 100644
--- a/components/__pycache__/AnswerModal.cpython-311.pyc
+++ b/components/__pycache__/AnswerModal.cpython-311.pyc
Binary files differ