You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Metasmoke is complaining about the post_link being empty:
NameError in ApiController#report_post
undefined local variable or method `post_link' for #ApiController:0x007fc845a3e570 Did you mean? posts_url
def report_post
# We don't create any posts here, just send them on to Smokey to do all the processing
ActionCable.server.broadcast 'smokedetector_messages', report: { user: @user.username, post_link: params[post_link] }
render plain: 'OK', status: 201
end
Reporting a spam or rude/abusive post via FDSC does not work.
I accidentally closed the tab when analyzing the requests, but this request failed:
Metasmoke is complaining about the
post_link
being empty:The text was updated successfully, but these errors were encountered: