mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-25 09:13:05 +08:00
Merge pull request #1475 from biosistemika/mm-sci-2982-user-variables-bug
SciNoteSCI-2982 Investigate (plus, fix) the User.variables on my.scinote.net
This commit is contained in:
commit
e84ab5b550
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
class JsonbHashSerializer
|
||||
def self.dump(hash)
|
||||
hash.to_json
|
||||
hash.nil? ? '{}' : hash.to_json
|
||||
end
|
||||
|
||||
def self.load(hash)
|
||||
|
|
Loading…
Reference in a new issue