mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
pass stopforumspam as formencoded
This commit is contained in:
parent
6e37fd7d25
commit
65008f4ac4
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ class StopForumSpamWorker
|
||||||
|
|
||||||
def perform(opts)
|
def perform(opts)
|
||||||
opts.merge! api_key: $config['stop_forum_spam_api_key']
|
opts.merge! api_key: $config['stop_forum_spam_api_key']
|
||||||
res = HTTP.post 'https://stopforumspam.com/add', opts
|
res = HTTP.post 'https://stopforumspam.com/add', form: opts
|
||||||
puts res.inspect
|
puts res.inspect
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue