cf10f3d03b
fixes: #3888
6 lines
180 B
Ruby
6 lines
180 B
Ruby
class Webhooks::SmsController < ActionController::API
|
|
def process_payload
|
|
Webhooks::SmsEventsJob.perform_later(params['_json']&.first&.to_unsafe_hash)
|
|
head :ok
|
|
end
|
|
end
|