Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate Slack files.upload API #135

Merged
merged 6 commits into from
Jan 15, 2025

Conversation

nowsprinting
Copy link
Contributor

Changes

Priority

Low (due: March 11, 2025)


Contribution License Agreement

@nowsprinting nowsprinting requested a review from a team as a code owner January 4, 2025 21:37
@github-actions github-actions bot added the chore label Jan 4, 2025
asurato
asurato previously approved these changes Jan 14, 2025
Copy link
Contributor

@asurato asurato left a comment

Choose a reason for hiding this comment

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

LGTM although I commented.


public string FileId { get; private set; }

private static readonly Regex s_successRegex = new Regex("\"ok\":true");
Copy link
Contributor

Choose a reason for hiding this comment

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

[comment]
In the future, I'd like you to use json format instead of regex, because regexes are weak against subtle changes(such as "ok":true"ok": true)...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks! That's right. I fixes it tonight, maybe.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed!

Copy link
Contributor

@asurato asurato left a comment

Choose a reason for hiding this comment

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

LGTM

@asurato asurato merged commit 62d43ec into DeNA:master Jan 15, 2025
1 check passed
@nowsprinting nowsprinting deleted the chore/slack_files_upload_api_v2 branch January 15, 2025 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate Slack files.upload API
2 participants