Skip to content

Commit acd6624

Browse files
authored
Update api_handler.rs
修正了一个可能导致群头衔无法正常生效的参数传递
1 parent 68fd1cc commit acd6624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api_handler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ pub async fn handle_set_group_special_title(
262262
) -> RCResult<SetGroupSpecialTitleResp> {
263263
// TODO duration 无效
264264
bot.client
265-
.group_edit_special_title(req.group_id, req.group_id, req.special_title)
265+
.group_edit_special_title(req.group_id, req.user_id, req.special_title)
266266
.await?;
267267
Ok(SetGroupSpecialTitleResp {})
268268
}

0 commit comments

Comments
 (0)