Skip to content

Commit

Permalink
filter repos by deleted_at
Browse files Browse the repository at this point in the history
  • Loading branch information
motatoes committed Aug 29, 2024
1 parent d02d3ce commit 6ed7450
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/data/user/repos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ export async function getOrganizationRepos(organizationId: string) {
const { data, error } = await supabaseClient
.from('repos')
.select('id, repo_full_name')
.eq('organization_id', organizationId);
.eq('organization_id', organizationId)
.is('deleted_at', null);

if (error) {
throw error;
Expand Down

0 comments on commit 6ed7450

Please sign in to comment.