mirror of
https://github.com/status-im/realm-js.git
synced 2025-02-17 09:06:26 +00:00
Fix typo
This commit is contained in:
parent
731384f228
commit
43d8f2967f
@ -40,7 +40,7 @@ export function createMethod(type, name, mutates) {
|
||||
let id = this[keys.id];
|
||||
|
||||
if (!realmId || !id) {
|
||||
throw new TypeError(name + ' method was not called a Realm object!');
|
||||
throw new TypeError(name + ' method was not called on a Realm object!');
|
||||
}
|
||||
if (this[keys.type] !== type) {
|
||||
throw new TypeError(name + ' method was called on an object of the wrong type!');
|
||||
|
Loading…
x
Reference in New Issue
Block a user