Skip to content

Commit e246f01

Browse files
committed
Cyclical dependency issue
1 parent 4e0f7de commit e246f01

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • core/src/main/kotlin/org/dreamexposure/discal/core/business

core/src/main/kotlin/org/dreamexposure/discal/core/business/RsvpService.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,12 @@ class RsvpService(
2323
private val rsvpCache: RsvpCache,
2424
private val embedService: EmbedService,
2525
private val calendarService: CalendarService,
26-
private val staticMessageService: StaticMessageService,
2726
private val beanFactory: BeanFactory,
2827
) {
2928
private val discordClient: DiscordClient
3029
get() = beanFactory.getBean(DiscordClient::class.java)
30+
private val staticMessageService: StaticMessageService
31+
get() = beanFactory.getBean(StaticMessageService::class.java)
3132

3233
suspend fun getRsvp(guildId: Snowflake, eventId: String): Rsvp {
3334
var rsvp = rsvpCache.get(guildId, eventId)

0 commit comments

Comments
 (0)