chore: update
This commit is contained in:
@@ -528,8 +528,8 @@ func AddDeliverySupport(c *gin.Context) {
|
||||
|
||||
err = database.AddCommandLog(
|
||||
commandID,
|
||||
"support",
|
||||
fmt.Sprintf("Support cabine: %s", req.Message),
|
||||
"note",
|
||||
fmt.Sprintf("Note cabine: %s", req.Message),
|
||||
cabineUsername.(string),
|
||||
)
|
||||
|
||||
@@ -630,7 +630,7 @@ func ForceValidateDelivery(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
validStatuses := []string{"assigned", "in_transit", "en_route", "en_cours", "support", "pending", "priority"}
|
||||
validStatuses := []string{"assigned", "in_transit", "en_route", "en_cours", "pending", "priority"}
|
||||
isValidStatus := false
|
||||
for _, vs := range validStatuses {
|
||||
if status == vs {
|
||||
|
||||
Reference in New Issue
Block a user