Skip to content

Commit

Permalink
fix: Updated TopicService.delete()
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladik-gif committed Sep 27, 2024
1 parent 641e851 commit 277f34a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/chat/yourway/service/TopicService.java
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public void delete(UUID id) {
contactService.save(subscriber);
});
topic.setScope(TopicScope.DELETED);
topic.setTopicSubscribers(Collections.EMPTY_LIST);
topic.setTopicSubscribers(Collections.emptyList());
topicRepository.save(topic);
log.trace("Deleted Topic: {}", id);
}
Expand Down

0 comments on commit 277f34a

Please sign in to comment.