Skip to content

Commit

Permalink
Fix missing version on PATCH passenger/user
Browse files Browse the repository at this point in the history
  • Loading branch information
phylor authored and rmehner committed Jan 24, 2022
1 parent 167892c commit 1461b99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ioki/model/passenger/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class User < Base
attribute :registered, on: :read, type: :boolean
attribute :remaining_referrals, on: :read, type: :integer
attribute :unique_customer_id, on: :read, type: :string
attribute :version, on: :read, type: :integer
attribute :version, on: [:read, :update], type: :integer
end
end
end
Expand Down

0 comments on commit 1461b99

Please sign in to comment.