fix import locations

This commit is contained in:
Kevin Jahns
2018-03-06 05:22:18 +01:00
parent bbc207aaa6
commit 814af5a3d7
25 changed files with 49 additions and 48 deletions

View File

@@ -1,6 +1,6 @@
import { getReference } from '../Util/structReferences.js'
import ID from '../Util/ID/ID.js.js'
import { RootFakeUserID } from '../Util/ID/RootID.js.js'
import { getStructReference } from '../Util/structReferences.js'
import ID from '../Util/ID/ID.js'
import { RootFakeUserID } from '../Util/ID/RootID.js'
import Delete from './Delete.js'
import { transactionTypeChanged } from '../Transaction.js'
@@ -336,7 +336,7 @@ export default class Item {
* @param {BinaryEncoder} encoder The encoder to write data to.
*/
_toBinary (encoder) {
encoder.writeUint8(getReference(this.constructor))
encoder.writeUint8(getStructReference(this.constructor))
let info = 0
if (this._origin !== null) {
info += 0b1 // origin is defined