Skip to content

Commit

Permalink
release: 1.1.2 (#235)
Browse files Browse the repository at this point in the history
devxb authored Jan 8, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents 779cd62 + 696e499 commit 52d3c5a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -98,7 +98,7 @@ class GuildService(
@Retryable(ObjectOptimisticLockingFailureException::class)
fun changeGuild(changeRequesterId: Long, guildId: Long, request: ChangeGuildRequest) {
val guild = guildRepository.findGuildByIdAndLeaderId(guildId, changeRequesterId)
?: throw IllegalArgumentException("Cannot kick member cause your not a leader.")
?: throw IllegalArgumentException("Cannot change guild cause your not a leader.")

guild.change(request)
}

0 comments on commit 52d3c5a

Please sign in to comment.