Merge pull request #2098 from internetee/fix-repp-api-error

Fix repp boolean value bug
This commit is contained in:
Alex Sherman 2021-07-19 16:24:43 +05:00 committed by GitHub
commit 93d959ab9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,7 +48,7 @@ module Repp
api :PUT, '/repp/v1/registrar/notifications'
desc 'Mark poll message as read'
param :notification, Hash, required: true do
param :read, [true], required: true, desc: 'Set as true to mark as read'
param :read, [true, 'true'], required: true, desc: 'Set as true to mark as read'
end
def update
# rubocop:disable Style/AndOr