typeOf check the actual value - derp
This commit is contained in:
parent
2b9b198abc
commit
1c114a447b
|
@ -27,7 +27,7 @@ export default class Disconnect {
|
|||
* @returns {*}
|
||||
*/
|
||||
set(value: string | Object) {
|
||||
return promisify('onDisconnectSet', FirebaseDatabase)(this.path, { type: typeOf(typeOf), value });
|
||||
return promisify('onDisconnectSet', FirebaseDatabase)(this.path, { type: typeOf(value), value });
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue