Skip to content

Commit 3a01a42

Browse files
committed
fix missing migrate
1 parent faccf2e commit 3a01a42

File tree

2 files changed

+1
-58
lines changed

2 files changed

+1
-58
lines changed

client/src/app/(main)/messages/NewChatDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export default function NewChatDialog({
7272
} catch (error) {
7373
console.error('Error creating channel:', error);
7474
}
75-
const result = await channel.addMembers([{user_id: "00cffeed-248f-4fc5-92ff-b99ebbad7e8d"}]);
75+
const result = await channel.addMembers([{user_id: loggedInUser.id}]);
7676
// const result1 = await channel.addMembers([{user_id: "0649d146-060c-4c8e-86c1-b975947c49b4"}]);
7777
console.log(result.members[0].channel_role) // "channel_member"
7878
return channel;

db/migrate/20220402020814_create_active_storage_tables.active_storage.rb

Lines changed: 0 additions & 57 deletions
This file was deleted.

0 commit comments

Comments
 (0)