Skip to content

Commit 74d2290

Browse files
committed
Ooops, need to set the type correctly
1 parent 127d235 commit 74d2290

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class StaticMessageService(
112112
guildId = guildId.asLong(),
113113
messageId = message.id().asLong(),
114114
channelId = channelId.asLong(),
115-
type = StaticMessage.Type.CALENDAR_OVERVIEW.value,
115+
type = type.value,
116116
lastUpdate = Instant.now(),
117117
scheduledUpdate = nextUpdate,
118118
enabled = true,

0 commit comments

Comments
 (0)