diff options
Diffstat (limited to 'api')
-rw-r--r-- | api/post.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/post.go b/api/post.go index 4d1425c18..d9531b09a 100644 --- a/api/post.go +++ b/api/post.go @@ -444,6 +444,7 @@ func getOpenGraphMetadata(c *Context, w http.ResponseWriter, r *http.Request) { ogJson, err := og.ToJSON() if err != nil { w.Write([]byte(`{"url": ""}`)) + return } w.Write(ogJson) } |