Skip to content

Commit

Permalink
🎨 Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
alpakar02 committed Jan 6, 2025
1 parent 4659c5b commit 94dcd7b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class ArticleService(
fun deleteArticle(
articleId: Long,
id: String,
) {
) {
val user = userService.getUserEntityById(id)
val articleEntity = articleRepository.findByIdOrNull(articleId) ?: throw ArticleNotFoundException()
if (articleEntity.seller.userId != user.userId) {
Expand Down

0 comments on commit 94dcd7b

Please sign in to comment.