@apigames/sdk-core 22.1.18 → 22.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -127,6 +127,8 @@ class ResourceContainer {
|
|
|
127
127
|
if ((0, json_1.isArray)(response.data.included)) {
|
|
128
128
|
for (const resourceData of response.data.included) {
|
|
129
129
|
const resourceObject = this.LoadResourceData(resourceData);
|
|
130
|
+
if ((0, json_1.isUndefined)(this._includes[resourceObject.type]))
|
|
131
|
+
this._includes[resourceObject.type] = {};
|
|
130
132
|
this._includes[resourceObject.type][resourceObject.id] = resourceObject;
|
|
131
133
|
}
|
|
132
134
|
}
|