Fixing more logic issues

This commit is contained in:
NovaFox161
2021-10-06 14:23:33 -05:00
parent 2cbc3c0edf
commit e63f6f46a5

View File

@@ -663,7 +663,7 @@ object DatabaseManager {
).doOnError {
LOGGER.error(DEFAULT, "Failed to get calendar count", it)
}.onErrorReturn(-1)
}
}.defaultIfEmpty(0)
}
fun getEventData(guildId: Snowflake, eventId: String): Mono<EventData> {