Merge pull request '크리에이터 커뮤니티' (#202) from test into main
Reviewed-on: #202
This commit is contained in:
		| @@ -214,7 +214,14 @@ class CreatorCommunityService( | |||||||
|  |  | ||||||
|                 val existOrdered = useCanRepository.isExistOrdered(postId = it.id, memberId = memberId) |                 val existOrdered = useCanRepository.isExistOrdered(postId = it.id, memberId = memberId) | ||||||
|  |  | ||||||
|                 val audioUrl = if ((it.price <= 0 || existOrdered) && it.audioPath != null) { |                 val audioUrl = if ( | ||||||
|  |                     ( | ||||||
|  |                         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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user