Skip to content

Commit

Permalink
[WEAV-138] Profile Image 업로드시 authorization 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
jisu15-kim committed Dec 7, 2024
1 parent d7ac8ba commit a95f5ae
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,7 @@ extension ProfileService: ProfileServiceProtocol {
var urlRequest = URLRequest(url: url)
urlRequest.httpMethod = "PUT"
urlRequest.setValue("image/png", forHTTPHeaderField: "Content-Type")
urlRequest.setValue(
"Bearer \(TokenManager.accessToken ?? "")",
forHTTPHeaderField: "Authorization"
)
urlRequest.setValue("public-read", forHTTPHeaderField: "x-amz-acl")

debugPrint("✅ [Upload Image Url] : \(url)")
debugPrint("✅ [Upload Image] : \(image)")
Expand Down

0 comments on commit a95f5ae

Please sign in to comment.