We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4e63c46 + 62ea461 commit 305dabcCopy full SHA for 305dabc
index.js
@@ -134,16 +134,16 @@
134
})
135
},
136
put: function(db, object, options) {
137
- return databases[db].put(object, options);
+ return databases[db].put(object, options || {});
138
139
post: function(db, object, options) {
140
- return databases[db].post(object, options);
+ return databases[db].post(object, options || {});
141
142
remove: function(db, object, options) {
143
- return databases[db].remove(object, options);
+ return databases[db].remove(object, options || {});
144
145
get: function(db, object, options) {
146
- return databases[db].get(object, options);
+ return databases[db].get(object, options || {});
147
148
session: {},
149
errors: {},
0 commit comments