Skip to content

Commit

Permalink
Clean up s3BinaryStoreEffects slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
puffnfresh committed Apr 3, 2019
1 parent b74a691 commit 5a5b860
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hnix-store-s3/src/System/Nix/Store/S3.hs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ s3BinaryStoreEffects
=> BucketName
-> BinaryStoreEffects m
s3BinaryStoreEffects bucketName' =
BinaryStoreEffects (upsertFile' bucketName')
BinaryStoreEffects upsertFile'
where
upsertFile' bucketName pth d mimeType =
void . send $ putObject bucketName (ObjectKey pth) (toBody d) & poContentType ?~ mimeType
upsertFile' pth d mimeType =
void . send $ putObject bucketName' (ObjectKey pth) (toBody d) & poContentType ?~ mimeType

0 comments on commit 5a5b860

Please sign in to comment.