Skip to content

Commit

Permalink
🐛 Fix editArticle
Browse files Browse the repository at this point in the history
  • Loading branch information
alpakar02 authored Jan 31, 2025
1 parent 0c4f517 commit ad5255d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ class ArticleService(
articleEntity.location = request.location
if (articleEntity.imageUrls.isNotEmpty()) {
imageService.deleteImageUrl(articleEntity.imageUrls)
articleEntity.imageUrls = mutableListOf()
articleEntity.imageUrls.clear()
articleRepository.save(articleEntity)
}

val imagePutPresignedUrls: MutableList<String> = mutableListOf()
Expand Down

0 comments on commit ad5255d

Please sign in to comment.