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

Update Facebook API version to v18.0 #809

Merged
merged 2 commits into from
Dec 12, 2024
Merged

Conversation

norkans7
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Dec 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.52%. Comparing base (6809ccd) to head (660c454).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #809   +/-   ##
=======================================
  Coverage   74.52%   74.52%           
=======================================
  Files         111      111           
  Lines       13221    13223    +2     
=======================================
+ Hits         9853     9855    +2     
  Misses       2651     2651           
  Partials      717      717           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@norkans7 norkans7 force-pushed the update-FB-API-version branch from 2221b28 to 7c336ee Compare December 12, 2024 15:33
@@ -155,6 +156,10 @@ func getAttachmentType(t *httpx.Trace) (string, string) {
extensions, err := mime.ExtensionsByType(typ)
if len(extensions) > 0 && err == nil {
ext = extensions[0][1:]
if slices.Contains([]string{"jpe", "jfif"}, ext) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was returning different extensions but they are the same format so I used this workaround until I find why the mimetypes dependency we use is not consistent there

@rowanseymour rowanseymour merged commit a62f171 into main Dec 12, 2024
7 checks passed
@rowanseymour rowanseymour deleted the update-FB-API-version branch December 12, 2024 15:58
@github-actions github-actions bot locked and limited conversation to collaborators Dec 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants