This website works better with JavaScript.
Home
Explore
lain.church
Help
Register
Sign In
squeegily
/
pleroma
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
42
Wiki
Activity
Browse Source
Fix posting non-polls from mastofe
tags/v1.1.4
rinpatch
5 years ago
parent
aafe30d94e
commit
a53d062730
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
lib/pleroma/web/common_api/utils.ex
+ 1
- 1
lib/pleroma/web/common_api/utils.ex
View File
@@ -157,7 +157,7 @@ defmodule Pleroma.Web.CommonAPI.Utils do
end
end
def make_poll_data(%{"poll" =>
_}
) do
def make_poll_data(%{"poll" =>
poll}) when is_map(poll
) do
"Invalid poll"
end
Write
Preview
Loading…
Cancel
Save