remove galtinn_user and galtinn_role db tables
will be replaced with galtinn API calls in the future™️
This commit is contained in:
2 files changed
+6
-76
No files matched your search
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user