mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-25 16:24:27 +08:00
Changing double quotes to single quotes
This commit is contained in:
parent
3ec62758fe
commit
d2dfe68e46
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
class JsonbHashSerializer
|
||||
def self.dump(hash)
|
||||
hash.nil? ? "{}" : hash.to_json
|
||||
hash.nil? ? '{}' : hash.to_json
|
||||
end
|
||||
|
||||
def self.load(hash)
|
||||
|
|
Loading…
Reference in a new issue