mirror of
https://codeberg.org/teddit/teddit.git
synced 2026-04-19 21:54:58 -04:00
check if json.error_data exists
This commit is contained in:
@@ -19,6 +19,7 @@ html
|
||||
if error
|
||||
if json.error_data.reason === "private"
|
||||
h2 This is a private subreddit.
|
||||
if json.error_data
|
||||
p Error: #{JSON.stringify(json.error_data)}
|
||||
else
|
||||
if show_nsfw_warning === true
|
||||
|
||||
Reference in New Issue
Block a user