Skip to content

Commit 34893bd

Browse files
committed
add slug to user info
1 parent e89b46d commit 34893bd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

api/views/auth.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ def get(self, request: Request) -> Response:
101101
"homepage": org.organization.homepage, # type: ignore[attr-defined]
102102
"created": org.organization.created, # type: ignore[attr-defined]
103103
"updated": org.organization.modified, # type: ignore[attr-defined]
104+
"slug": org.organization.slug, # type: ignore[attr-defined]
104105
}
105106
for org in user.organizationmembership_set.all() # type: ignore[union-attr, arg-type]
106107
],

0 commit comments

Comments
 (0)