Skip to content

Commit a7f3ebc

Browse files
authored
fix(backend): Update typing of Organization.slug (#5636)
1 parent e634830 commit a7f3ebc

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/solid-heads-turn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/backend': patch
3+
---
4+
5+
Update typing of Organization.slug

packages/backend/src/api/resources/Organization.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export class Organization {
1010
constructor(
1111
readonly id: string,
1212
readonly name: string,
13-
readonly slug: string | null,
13+
readonly slug: string,
1414
readonly imageUrl: string,
1515
readonly hasImage: boolean,
1616
readonly createdAt: number,

0 commit comments

Comments
 (0)