Fix accidentally duplicated imports

Import lib instead of lib/data in the messages files to avoid these
getting packed with the web build.
This commit is contained in:
Hornwitser committed 2023-06-11 17:30:24 +02:00
1 parent 04b46540fb
commit 790b03bc03
2 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
"use strict";
const { jsonArray } = require("@clusterio/lib/data");
const { libData } = require("@clusterio/lib");
class ContributionEvent {
static type = "event";
@@ -166,7 +166,7 @@ class SyncTechnologiesRequest {
return new this(json.map(e => Technology.fromJSON(e)));
}
static Response = jsonArray(Technology);
static Response = libData.jsonArray(Technology);
}
module.exports = {