Compare commits

..

No commits in common. "e1bb8e54ededfbe43007adff1fa1b8aa7a0b85e4" and "1de705b0630cf6578e4a2eb95da1fecd9f7197a5" have entirely different histories.

1 changed files with 1 additions and 8 deletions

View File

@ -214,14 +214,7 @@ class CreatorCommunityService(
val existOrdered = useCanRepository.isExistOrdered(postId = it.id, memberId = memberId) val existOrdered = useCanRepository.isExistOrdered(postId = it.id, memberId = memberId)
val audioUrl = if ( val audioUrl = if ((it.price <= 0 || existOrdered) && it.audioPath != null) {
(
it.price <= 0 ||
existOrdered ||
it.creatorId == memberId
) &&
it.audioPath != null
) {
audioContentCloudFront.generateSignedURL( audioContentCloudFront.generateSignedURL(
resourcePath = it.audioPath, resourcePath = it.audioPath,
expirationTime = 1000 * 60 * 30 expirationTime = 1000 * 60 * 30