Skip to content

Commit c69cb76

Browse files
committed
misc: remove Mode option
1 parent 7ec4fd4 commit c69cb76

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

miscellaneous.go

-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ package gogs
66

77
type MarkdownOption struct {
88
Text string
9-
Mode string
109
Context string
1110
}

repo_hook.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
)
1515

1616
var (
17-
ErrInvalidReceiveHook = errors.New("Invalid JSON payload received over webhook")
17+
ErrInvalidReceiveHook = errors.New("invalid JSON payload received over webhook")
1818
)
1919

2020
type Hook struct {

0 commit comments

Comments
 (0)