Skip to content

Commit

Permalink
change schema
Browse files Browse the repository at this point in the history
  • Loading branch information
kortirso committed Dec 10, 2023
1 parent 6ef38da commit ace8e7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/concerns/parameterable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module Parameterable
InvalidInputParamsError = Class.new(StandardError)

included do
# rescue_from InvalidInputParamsError, with: :invalid_params
rescue_from InvalidInputParamsError, with: :invalid_params
end

private
Expand Down
2 changes: 1 addition & 1 deletion app/schemas/webhooks/telegram_schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
required(:last_name).filled(:string)
end
required(:chat).hash do
required(:id).filled(:string)
required(:id).filled
end
required(:text).filled(:string)
end
Expand Down

0 comments on commit ace8e7b

Please sign in to comment.