Skip to content

Commit

Permalink
Remove spurious argument (#4433)
Browse files Browse the repository at this point in the history
  • Loading branch information
megrogan authored Sep 25, 2023
1 parent 2137be6 commit 8ab4c19
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions backend/canisters/group/api/can.did
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,6 @@ type ResetInviteCodeResponse = variant {
};

type FollowThreadArgs = record {
channel_id : ChannelId;
thread_root_message_index : MessageIndex;
};

Expand All @@ -578,7 +577,6 @@ type FollowThreadResponse = variant {
};

type UnfollowThreadArgs = record {
channel_id : ChannelId;
thread_root_message_index : MessageIndex;
};

Expand Down
3 changes: 1 addition & 2 deletions backend/canisters/group/api/src/updates/follow_thread.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
use candid::CandidType;
use serde::{Deserialize, Serialize};
use types::{ChannelId, MessageIndex};
use types::MessageIndex;

#[derive(CandidType, Serialize, Deserialize, Debug)]
pub struct Args {
pub channel_id: ChannelId,
pub thread_root_message_index: MessageIndex,
}

Expand Down
3 changes: 1 addition & 2 deletions backend/canisters/group/api/src/updates/unfollow_thread.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
use candid::CandidType;
use serde::{Deserialize, Serialize};
use types::{ChannelId, MessageIndex};
use types::MessageIndex;

#[derive(CandidType, Serialize, Deserialize, Debug)]
pub struct Args {
pub channel_id: ChannelId,
pub thread_root_message_index: MessageIndex,
}

Expand Down

0 comments on commit 8ab4c19

Please sign in to comment.