Skip to content

Commit 122eca2

Browse files
committed
fix(systems): fix default value for capacity
1 parent 0005268 commit 122eca2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/http/services/systems/system.class.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export class EngineSystem extends EngineResource<EngineSystemsService> {
5252
super(_service, raw_data);
5353
this.description = raw_data.description || '';
5454
this.email = raw_data.email || '';
55-
this.capacity = raw_data.capacity || '';
55+
this.capacity = raw_data.capacity || 0;
5656
this.features = raw_data.features || '';
5757
this.bookable = raw_data.bookable || '';
5858
this.installed_ui_devices = raw_data.installed_ui_devices || 0;

0 commit comments

Comments
 (0)