PLT-6403: Interactive messages (#7274)
* wip * finish first pass * requested changes * add DoPostAction to Client4
Этот коммит содержится в:
@@ -39,6 +39,7 @@ type ApiParams struct {
|
||||
Service string
|
||||
JobId string
|
||||
JobType string
|
||||
ActionId string
|
||||
Page int
|
||||
PerPage int
|
||||
Permanent bool
|
||||
@@ -137,6 +138,10 @@ func ApiParamsFromRequest(r *http.Request) *ApiParams {
|
||||
params.JobType = val
|
||||
}
|
||||
|
||||
if val, ok := props["action_id"]; ok {
|
||||
params.ActionId = val
|
||||
}
|
||||
|
||||
if val, err := strconv.Atoi(r.URL.Query().Get("page")); err != nil || val < 0 {
|
||||
params.Page = PAGE_DEFAULT
|
||||
} else {
|
||||
|
||||
Ссылка в новой задаче
Block a user