Skip to content

Commit cb51dde

Browse files
committed
fix file upload content-type error
1 parent ccebc72 commit cb51dde

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/sentry-api/client/projects.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def project_stats(project_slug, options={}, organization_slug=@default_org_slug)
7979
# @param organization_slug [String] the slug of the organization.
8080
# @return [Array<SentryApi::ObjectifiedHash>]
8181
def upload_dsym_files(project_slug, file_path, organization_slug=@default_org_slug)
82-
post("/projects/#{organization_slug}/#{project_slug}/files/dsyms/", body: {file: File.new(file_path)})
82+
upload("/projects/#{organization_slug}/#{project_slug}/files/dsyms/", body: {file: File.new(file_path)})
8383
end
8484

8585
# List a Project’s DSym Files.

lib/sentry-api/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module SentryApi
2-
VERSION = "0.2.1"
2+
VERSION = "0.2.2"
33
end

0 commit comments

Comments
 (0)