Skip to content

Commit e9fe9c2

Browse files
committed
Save images as images
1 parent 6a05397 commit e9fe9c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/src/S3Manager.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public function saveImage(Imagick $im, $id) {
4747
//TODO: Error Handling
4848
$this->s3Client->putObject([
4949
'Bucket' => $this->imageBucket,
50+
'ContentType' => 'image/png',
5051
'Key' => "{$id}.png",
5152
'Body' => $im->getImageBlob()
5253
]);

0 commit comments

Comments
 (0)