org-links GET: remaining name-column reference
This commit is contained in:
1 parent
394cccfbcb
commit
dcffbb1b98
1 file changed
+2
-2
+2
-2
@@ -2409,11 +2409,11 @@ async def admin_org_links(request: Request):
|
||||
org_backers = await fetch_org_backers()
|
||||
conn = get_db()
|
||||
rows = conn.execute(
|
||||
"SELECT email, name, org_slug, active FROM members WHERE org_slug IS NOT NULL"
|
||||
"SELECT email, org_slug, active FROM members WHERE org_slug IS NOT NULL"
|
||||
).fetchall()
|
||||
conn.close()
|
||||
links = []
|
||||
for email, name, org_slug, active in rows:
|
||||
for email, org_slug, active in rows:
|
||||
org = org_backers.get(org_slug)
|
||||
links.append({
|
||||
"org_slug": org_slug,
|
||||
|
||||
Reference in new issue
Block a user