Skip to content

Commit 9ec08b8

Browse files
committed
servertimestamp now returns the .sv: timestamp object or default
1 parent a65ada2 commit 9ec08b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/modules/database/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default class Database extends Base {
4343

4444
get ServerValue() {
4545
return {
46-
TIMESTAMP: FirestackModule.serverValueTimestamp,
46+
TIMESTAMP: FirestackModule.serverValueTimestamp || { '.sv': 'timestamp' },
4747
};
4848
}
4949

0 commit comments

Comments
 (0)