Created
July 16, 2015 06:07
-
-
Save gsmaverick/5e3e8102b946d7979610 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object S3File { | |
// ... | |
def linkSigningS3FileWrites: Writes[S3File] = s3FileFormat.writes.transform( | |
(JsPath \ "path").json.update(JsPath.read[JsString].map(path => { | |
JsString(generateSignedLink(path)) | |
})) | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment