Escape PuSH challenge and change subscriptions and salmon APIs to text/plain

This commit is contained in:
Eugen Rochko 2016-03-21 09:24:29 +01:00
parent 68931c1ee8
commit 2ba6537f52
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,6 @@
class Api::SalmonController < ApiController
before_action :set_account
respond_to :txt
def update
ProcessInteractionService.new.(request.body.read, @account)