mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 09:46:09 +02:00
Fix 'true' validation in repp mark message as read endpoint
This commit is contained in:
parent
fc338dea16
commit
63e911acb6
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ module Repp
|
||||||
api :PUT, '/repp/v1/registrar/notifications'
|
api :PUT, '/repp/v1/registrar/notifications'
|
||||||
desc 'Mark poll message as read'
|
desc 'Mark poll message as read'
|
||||||
param :notification, Hash, required: true do
|
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
|
end
|
||||||
def update
|
def update
|
||||||
# rubocop:disable Style/AndOr
|
# rubocop:disable Style/AndOr
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue