Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

Commit 9a0cf55

Browse files
committed
Don't send empty error
1 parent f4d09de commit 9a0cf55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ type Response struct {
55
URL string `json:"url"`
66
HTML string `json:"html"`
77
Image string `json:"image"`
8-
Error string `json:"error"`
8+
Error string `json:"error,omitempty"`
99
}
1010

1111
type IframelyResponse struct {

0 commit comments

Comments
 (0)