mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +00:00
Fix function name
This commit is contained in:
parent
ae2a317b57
commit
24cfd9e542
@ -227,7 +227,7 @@ export class GitHubRepoConnection implements IConnection {
|
||||
|
||||
@botCommand("gh close", "Close an issue", ["number"], ["comment"], true)
|
||||
// @ts-ignore
|
||||
private async onAssign(userId: string, number: string, comment?: string) {
|
||||
private async onClose(userId: string, number: string, comment?: string) {
|
||||
const octokit = await this.tokenStore.getOctokitForUser(userId);
|
||||
if (!octokit) {
|
||||
return this.as.botIntent.sendText(this.roomId, "You must login to close an issue", "m.notice");
|
||||
|
Loading…
x
Reference in New Issue
Block a user