Skip to content

Commit

Permalink
[MM-617]: fixed lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Kshitij-Katiyar committed Jul 30, 2024
1 parent 421e5a7 commit 13f3e7e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion server/plugin/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ func (p *Plugin) postIssueEvent(event *github.IssuesEvent) {
RepoOwner: repo.GetOwner().GetLogin(),
RepoName: repo.GetName(),
IssueNumber: issue.GetNumber(),
IssueID: issue.GetID(),
IssueID: issue.GetID(),
Status: *issue.State,
},
URL: fmt.Sprintf("%s%s%s", pluginURL, BasePath, OpenStatusModalPath),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default class AttachIssueModal extends PureComponent {
repo,
number,
comment: this.state.comment,
post_id: postId,
post_id: this.props.messageData?.postId,
show_attached_message: true,
};

Expand Down
2 changes: 1 addition & 1 deletion webapp/src/components/modals/close_reopen_issue/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const CloseOrReopenIssueModal = ({theme}: {theme: Theme}) => {
repo: messageData.repo_name,
number: messageData.issue_number,
owner: messageData.repo_owner,
status: messageData.status === 'open' ? 'Close' : 'Reopen', // Sending the state of the issue which we want it to be after the edit API call
status: messageData.status === 'open' ? 'Close' : 'Reopen', // Sending the state of the issue which we want it to be after the edit API call
postId: messageData.postId,
};
setSubmitting(true);
Expand Down

0 comments on commit 13f3e7e

Please sign in to comment.