Fix rarely sending incorrect entities

This commit is contained in:
micah 2019-06-02 10:25:10 -04:00
parent 14fda2a895
commit 57c234c6e9

View File

@ -60,7 +60,7 @@ export function stringifyData(data: any): string {
if(type) return { if(type) return {
__t: type, __t: type,
i: value.remoteId || value.id i: typeof value.remoteId === 'number' ? value.remoteId : value.id
}; };
} }