Skip to content

Commit

Permalink
fix: bubble update
Browse files Browse the repository at this point in the history
  • Loading branch information
arihant2math committed Oct 31, 2024
1 parent 0da17b6 commit 06c240d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/client/src/routes/bubble_update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pub type BubbleUpdateResult = crate::APIResult<BubbleUpdateResponse>;

api!(
post,
"v1/membership.update",
"v1/bubble.update",
BubbleUpdateResult,
PostBubbleUpdateRequest
);
4 changes: 2 additions & 2 deletions ui/src/lib/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ export async function setChannelCategory(channelId: number, categoryId: number)
return await invoke("set_channel_category", {channelId, categoryId});
}

export async function modifyChannelPermission(channelId: number, permission: string, value: string) {
return await invoke("modify_channel_permission", {channelId, permission, value});
export async function modifyChannelPermission(channelId: number, key: string, value: string) {
return await invoke("modify_channel_permission", {channelId, key, value});
}

export async function deleteChannel(channelId: number) {
Expand Down

0 comments on commit 06c240d

Please sign in to comment.