Skip to content

Commit

Permalink
Adding default value for metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
msvaljek committed Jul 23, 2020
1 parent ad67d80 commit 6a023d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/zio/s3/package.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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]

/**
Expand All @@ -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]

/**
Expand Down

0 comments on commit 6a023d3

Please sign in to comment.