1
0
Fork 0

Args website and message has swapped their places.

This commit is contained in:
Alexander Andreev 2022-10-21 03:01:01 +04:00
parent daaf872049
commit 059efc4004
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ type Entry struct {
Reply *Reply `json:"reply,omitempty"`
}
func NewEntry(name, website, message string, hideWebsite bool) (*Entry, error) {
func NewEntry(name, message, website string, hideWebsite bool) (*Entry, error) {
if name == "" || message == "" {
return nil, errors.New("name and message field are required")
}