From 6a023d344d075aee21373730e85043bb71048b41 Mon Sep 17 00:00:00 2001 From: msvaljek Date: Thu, 23 Jul 2020 20:37:06 +0200 Subject: [PATCH] Adding default value for metadata --- src/main/scala/zio/s3/package.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/scala/zio/s3/package.scala b/src/main/scala/zio/s3/package.scala index aaaeca04..16251e3e 100644 --- a/src/main/scala/zio/s3/package.scala +++ b/src/main/scala/zio/s3/package.scala @@ -115,7 +115,7 @@ package object s3 { contentLength: Long, contentType: String, content: ZStream[R, Throwable, Byte], - metadata: Map[String, String] + metadata: Map[String, String] = Map.empty ): ZIO[R, S3Exception, Unit] /** @@ -133,7 +133,7 @@ package object s3 { key: String, contentType: String, content: ZStream[R, Throwable, Byte], - metadata: Map[String, String] + metadata: Map[String, String] = Map.empty ): ZIO[R, S3Exception, Unit] /**