UpdateWebhook updates information of webhook.
(w *Webhook)
| 306 | |
| 307 | // UpdateWebhook updates information of webhook. |
| 308 | func UpdateWebhook(w *Webhook) error { |
| 309 | _, err := x.Id(w.ID).AllCols().Update(w) |
| 310 | return err |
| 311 | } |
| 312 | |
| 313 | // deleteWebhook uses argument bean as query condition, |
| 314 | // ID must be specified and do not assign unnecessary fields. |
no test coverage detected