Cleanup
Pre-release
Pre-release
anthonycastelli
released this
28 Apr 17:53
·
13 commits
to master
since this release
Clean up a few files and make sure things actually work as expected.
DELETE
return req.withStorage(to: .s3) { storage in
return try storage.delete(object: "path/to/file.png", in: "bucket", on: req)
}
PUT
return req.withStorage(to: .s3) { storage in
return try storage.create(object: "path/to/file.png", in: "bucket", with: data, metadata: nil, on: req)
}