Skip to content

Commit

Permalink
Remove unused parameter from sponsorblock plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Jun 29, 2024
1 parent 5c49514 commit 3a180ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ plugins {
}

group = "dev.schlaubi.lavakord"
version = "6.3.0"
version = "6.3.1"

allprojects {
repositories {
Expand Down
8 changes: 4 additions & 4 deletions plugins/sponsorblock/src/commonMain/kotlin/rest/Route.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ import io.ktor.resources.*

@Resource("sponsorblock")
public data class SponsorblockRoute(val player: V4Api.Sessions.Specific.Players.Specific) {
public constructor(guildId: ULong, sessionId: String, noReplace: Boolean? = false) : this(
public constructor(guildId: ULong, sessionId: String) : this(
V4Api.Sessions.Specific.Players.Specific(
guildId,
noReplace,
null,
V4Api.Sessions.Specific.Players(sessionId)
)
)

@Resource("categories")
public data class Categories(val parent: SponsorblockRoute) {
public constructor(guildId: ULong, sessionId: String, noReplace: Boolean? = false) : this(
public constructor(guildId: ULong, sessionId: String) : this(
SponsorblockRoute(
guildId,
sessionId, noReplace
sessionId
)
)
}
Expand Down

0 comments on commit 3a180ef

Please sign in to comment.