Skip to content

Commit

Permalink
Merge pull request #1330 from alphagov/fix-serialization
Browse files Browse the repository at this point in the history
Fix user model serialization
  • Loading branch information
MuriloDalRi authored Nov 21, 2023
2 parents be33ea4 + 38dc5b5 commit cf2c1c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/user.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class User < ApplicationRecord
include GDS::SSO::User

serialize :permissions, coder: JSON, type: Array
serialize :permissions, coder: YAML, type: Array
end

0 comments on commit cf2c1c1

Please sign in to comment.