Skip to content

Commit

Permalink
address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
aforaleka committed Jun 17, 2024
1 parent 04f2aa0 commit dc14199
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,6 @@ internal class SubaccountSupervisor(
analyticsPayload: IMap<String, Any>?,
uiClickTimeMs: Double,
fromSlTpDialog: Boolean = false,
isOrphanedTriggerOrder: Boolean = false,
): HumanReadableCancelOrderPayload {
val clientId = payload.clientId
val string = Json.encodeToString(payload)
Expand Down Expand Up @@ -909,7 +908,7 @@ internal class SubaccountSupervisor(
val analyticsPayload = analyticsUtils.cancelOrderAnalyticsPayload(payload, existingOrder, fromSlTpDialog = false, isOrphanedTriggerOrder)
val uiClickTimeMs = trackOrderClick(analyticsPayload, AnalyticsEvent.TradeCancelOrderClick)

return submitCancelOrder(orderId, marketId, callback, payload, analyticsPayload, uiClickTimeMs, false, isOrphanedTriggerOrder)
return submitCancelOrder(orderId, marketId, callback, payload, analyticsPayload, uiClickTimeMs)
}

internal fun commitTriggerOrders(
Expand Down

0 comments on commit dc14199

Please sign in to comment.