Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3c8215a

Browse files
feat: filter out platform organizations from admin organization list (#24926)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1 parent2bd7549 commit3c8215a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎packages/trpc/server/routers/viewer/organizations/adminGetAll.handler.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ type AdminGetAllOptions = {
1010
};
1111
};
1212

13-
exportconstadminGetUnverifiedHandler=async({}:AdminGetAllOptions)=>{
13+
exportconstadminGetUnverifiedHandler=async(_opts:AdminGetAllOptions)=>{
1414
constallOrgs=awaitprisma.team.findMany({
1515
where:{
1616
isOrganization:true,
17+
isPlatform:false,
1718
},
1819
select:{
1920
id:true,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp