List out house
view house detail
This commit is contained in:
@@ -61,8 +61,8 @@ export const auth = betterAuth({
|
||||
after: async (user) => {
|
||||
await auth.api.createOrganization({
|
||||
body: {
|
||||
name: `${user.name || 'User'}'s Organization`,
|
||||
slug: `${user.name?.toLowerCase().replace(/\s+/g, '-')}-${Date.now()}`,
|
||||
name: `${user.name || 'User'}'s House`,
|
||||
slug: `${user.name?.toLowerCase().replace(/\s+/g, '-')}-house-${Date.now()}`,
|
||||
userId: user.id,
|
||||
color: '#000000',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user