Skip to content

Commit

Permalink
Fix slug available check
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPowerGamerBR committed Nov 10, 2024
1 parent 5b90e1c commit fc2bf75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ class GalleryOfDreamsCommand(val loritta: GalleryOfDreamsBackend) : SlashCommand

val slugIsAvailable = FanArtArtists.selectAll().where {
FanArtArtists.slug eq fanArtArtistSlug
}.count() != 0L
}.count() == 0L

val fanArtArtist = FanArtArtists.insert {
it[FanArtArtists.name] = artistName
Expand Down

0 comments on commit fc2bf75

Please sign in to comment.