typeOf check the actual value - derp

This commit is contained in:
Salakar 2017-02-15 12:14:45 +00:00
parent 2b9b198abc
commit 1c114a447b
1 changed files with 1 additions and 1 deletions

View File

@ -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 });
}
/**