Skip to content

Commit c748b0e

Browse files
Merge pull request #1323 from liam-hq/fix/remove-status-column
🐛 remove "ACTIVE" status condition from project creation and new organization pages
2 parents 26edfdb + eb7fd9e commit c748b0e

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

frontend/apps/app/app/(app)/app/organizations/[organizationId]/projects/new/page.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ export default async function NewProjectPage({ params }: PageProps) {
2727
.select('id')
2828
.eq('userId', data.session.user.id)
2929
.eq('organizationId', Number.parseInt(organizationId, 10))
30-
.eq('status', 'ACTIVE')
3130
.limit(1)
3231

3332
if (orgError) {

frontend/apps/app/features/organizations/pages/OrganizationNewPage/OrganizationNewPage.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ export const OrganizationNewPage: FC = () => {
3333
const { error } = await supabase.from('OrganizationMember').insert({
3434
userId,
3535
organizationId,
36-
status: 'ACTIVE',
3736
})
3837

3938
if (error) throw error

0 commit comments

Comments
 (0)