Skip to content

Commit 2c890cb

Browse files
author
Aschen
committed
Hotfix: get asset mappings from non-existant group
1 parent 31c4142 commit 2c890cb

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

lib/core-classes/CustomMappings/AssetMappingsManager.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,6 @@ export class AssetMappingsManager {
8181
}
8282

8383
get (group = 'commons'): JSONObject {
84-
if (! this.assetByGroup.has(group)) {
85-
throw new PluginImplementationError(`Unknown asset group "${group}".`);
86-
}
87-
8884
const mappings = JSON.parse(JSON.stringify(this.baseMappings));
8985

9086
const deviceMappings = this.deviceMappings.get();

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kuzzleio/plugin-device-manager",
3-
"version": "0.4.1",
3+
"version": "0.4.2",
44
"description": "Manage your IoT devices and assets. Choose a provisionning strategy, receive and decode payload, handle your IoT business logic.",
55
"author": "The Kuzzle Team (support@kuzzle.io)",
66
"repository": {

0 commit comments

Comments
 (0)