Skip to content

Commit

Permalink
fix: resolve code pollution, drop column
Browse files Browse the repository at this point in the history
  • Loading branch information
aiaiaiai1 committed Nov 6, 2024
1 parent 63c2fec commit 29e05c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/java/gymmi/service/S3Client.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ private GeneratePresignedUrlRequest createPresignedUrlRequest(String imageUrl, H
.withMethod(httpMethod)
.withExpiration(getPreSignedUrlExpiration());
request.addRequestParameter(Headers.S3_CANNED_ACL, CannedAccessControlList.Private.toString());
request.putCustomRequestHeader(Headers.CONTENT_TYPE, "1");
request.putCustomRequestHeader(Headers.CONTENT_LENGTH, "1");

return request;
}

Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/db/migration/V241106__drop_column.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
alter table workout_record drop created_at;
alter table workout_record drop last_modified_at;

0 comments on commit 29e05c1

Please sign in to comment.