We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d88c7bb commit f3557b8Copy full SHA for f3557b8
1 file changed
src/routers/tg/groups.ts
@@ -152,7 +152,7 @@ export default createTRPCRouter({
152
})
153
)
154
.mutation(async ({ input }) => {
155
- const left = await WSS.leaveChat(input.chatId)
+ const left = await WSS.leaveChat(input.chatId, input.performerId)
156
if (!left) return { error: "BOT_ERROR" }
157
158
const rows = await DB.delete(GROUPS).where(eq(GROUPS.telegramId, input.chatId)).returning()
0 commit comments