Registrant API: Permit country_code param

This commit is contained in:
Karl Erik Õunapuu 2021-02-26 11:30:17 +02:00
parent 34e71cc2c8
commit 40b7897e4b
No known key found for this signature in database
GPG key ID: C9DD647298A34764
2 changed files with 2 additions and 2 deletions

View file

@ -40,7 +40,7 @@ module Api
obj.require(key)
end
params.permit(required_params)
params.permit(required_params + [:country_code])
end
def create_token(user)