[db] Correctly named module for statics
This commit is contained in:
parent
ec6d91b6e8
commit
d5de6a5b21
|
@ -60,7 +60,7 @@ export default class Database extends ModuleBase {
|
|||
}
|
||||
|
||||
export const statics = {
|
||||
ServerValue: NativeModules.FirebaseDatabase ? {
|
||||
TIMESTAMP: NativeModules.FirebaseDatabase.serverValueTimestamp || { '.sv': 'timestamp' },
|
||||
ServerValue: NativeModules.RNFirebaseDatabase ? {
|
||||
TIMESTAMP: NativeModules.RNFirebaseDatabase.serverValueTimestamp || { '.sv': 'timestamp' },
|
||||
} : {},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue