Skip to content

Commit 7db72ef

Browse files
committed
Clean up s3BinaryStoreEffects slightly
1 parent a5fd987 commit 7db72ef

File tree

1 file changed

+3
-3
lines changed
  • hnix-store-s3/src/System/Nix/Store

1 file changed

+3
-3
lines changed

hnix-store-s3/src/System/Nix/Store/S3.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ s3BinaryStoreEffects
1313
=> BucketName
1414
-> BinaryStoreEffects m
1515
s3BinaryStoreEffects bucketName' =
16-
BinaryStoreEffects (upsertFile' bucketName')
16+
BinaryStoreEffects upsertFile'
1717
where
18-
upsertFile' bucketName pth d mimeType =
19-
void . send $ putObject bucketName (ObjectKey pth) (toBody d) & poContentType ?~ mimeType
18+
upsertFile' pth d mimeType =
19+
void . send $ putObject bucketName' (ObjectKey pth) (toBody d) & poContentType ?~ mimeType

0 commit comments

Comments
 (0)