Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: typo in "failure_reaction"#78

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

ayame113
Copy link
Contributor

close#77

The repository's README says "failure_reaction", but the source code uses "failed_reaction". This PR fixes this to use "failure_reaction" and adds tests.

@CopilotCopilotAI review requested due to automatic review settingsMay 1, 2025 10:47
Copy link

@CopilotCopilotAI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Pull Request Overview

This PR fixes a typo where the reaction input key was incorrectly named "failed_reaction" instead of "failure_reaction", ensuring consistency with the repository's README.

  • Fixed the reaction input key for the failure condition in the post function.
  • Updated tests to verify the correct reaction is used on both success and failure outcomes.

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

FileDescription
src/functions/post.jsRenamed input from "failed_reaction" to "failure_reaction"
tests/functions/post.test.jsAdded tests to check the updated behavior for reaction inputs

ayame113 reacted with thumbs up emojiayame113 reacted with rocket emoji
@ayame113
Copy link
ContributorAuthor

@GrantBirki Could you please review this?

GrantBirki reacted with eyes emoji

@GrantBirkiGrantBirki added the bugSomething isn't working labelMay 9, 2025
Copy link
Member

@GrantBirkiGrantBirki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Looks great, thank you!

ayame113 reacted with thumbs up emojiayame113 reacted with rocket emoji
@GrantBirkiGrantBirki merged commit0821dfd intogithub:mainMay 9, 2025
4 checks passed
@GrantBirki
Copy link
Member

A new release,v2.0.1 has been published. Please give it a go and let me know if it all works okay! 🙇

@ayame113ayame113 deleted the fix/failure-reaction-typo branchMay 10, 2025 03:53
@ayame113
Copy link
ContributorAuthor

@GrantBirki
Thank you for your review! I have confirmed that it works with v2.0.1!

GrantBirki reacted with hooray emojiGrantBirki reacted with rocket emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

Copilot code reviewCopilotCopilot left review comments

@GrantBirkiGrantBirkiGrantBirki approved these changes

Assignees
No one assigned
Labels
bugSomething isn't working
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

failure_reaction option is not working
2 participants
@ayame113@GrantBirki

[8]ページ先頭

©2009-2025 Movatter.jp