mirror of
https://github.com/komari-monitor/komari.git
synced 2025-11-02 04:53:27 +00:00
fix: 修正拼写错误
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
|
||||
type Addition struct {
|
||||
URL string `json:"url" required:"true"`
|
||||
Method string `json:"method" default:"GET" type:"option" option:"POST,GET"`
|
||||
Method string `json:"method" default:"GET" type:"option" options:"POST,GET"`
|
||||
ContentType string `json:"content_type" default:"application/json"`
|
||||
Headers string `json:"headers" help:"HTTP headers in JSON format"`
|
||||
Body string `json:"body" default:"{\"message\":\"{{message}}\",\"title\":\"{{title}}\"}"` // 默认使用message和title字段
|
||||
|
||||
Reference in New Issue
Block a user