Fix: Force dashboard command to use localhost URL (#16434)

Merged via /review-pr -> /prepare-pr -> /merge-pr.

Prepared head SHA: 3c03b4cc9b
Co-authored-by: BinHPdev <219093083+BinHPdev@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
This commit is contained in:
Bin Deng
2026-02-15 04:00:58 +08:00
committed by GitHub
parent 9c5404d95e
commit b9d14855d0
5 changed files with 162 additions and 1 deletions

View File

@@ -436,7 +436,11 @@ public struct PollParams: Codable, Sendable {
public let question: String
public let options: [String]
public let maxselections: Int?
public let durationseconds: Int?
public let durationhours: Int?
public let silent: Bool?
public let isanonymous: Bool?
public let threadid: String?
public let channel: String?
public let accountid: String?
public let idempotencykey: String
@@ -446,7 +450,11 @@ public struct PollParams: Codable, Sendable {
question: String,
options: [String],
maxselections: Int?,
durationseconds: Int?,
durationhours: Int?,
silent: Bool?,
isanonymous: Bool?,
threadid: String?,
channel: String?,
accountid: String?,
idempotencykey: String
@@ -455,7 +463,11 @@ public struct PollParams: Codable, Sendable {
self.question = question
self.options = options
self.maxselections = maxselections
self.durationseconds = durationseconds
self.durationhours = durationhours
self.silent = silent
self.isanonymous = isanonymous
self.threadid = threadid
self.channel = channel
self.accountid = accountid
self.idempotencykey = idempotencykey
@@ -465,7 +477,11 @@ public struct PollParams: Codable, Sendable {
case question
case options
case maxselections = "maxSelections"
case durationseconds = "durationSeconds"
case durationhours = "durationHours"
case silent
case isanonymous = "isAnonymous"
case threadid = "threadId"
case channel
case accountid = "accountId"
case idempotencykey = "idempotencyKey"