remove galtinn_user and galtinn_role db tables

will be replaced with galtinn API calls in the future™️
This commit is contained in:
Leander Furumo committed 2024-04-12 01:16:43 +02:00
1 parent 7e42a1ddb9
commit 16a319876b
2 files changed
+6 -76

No files matched your search

-8
View File
@@ -103,14 +103,6 @@ async def callback(request: Request, code: str, state: str):
user = await r.json()
# Enter user into database
await app.state.pool.execute(
"""
INSERT INTO galtinn_users (discord_id, galtinn_id)
VALUES ($1, $2)
""",
discord_id,
user["sub"], # TODO: use UUID?
)
# Delete verification entry
await app.state.pool.execute(