Skip to content

Commit 504a83a

Browse files
authored
Merge pull request #136 from antmendoza/fix_sleepState
fix conversion for sleepState
2 parents e376d7a + dd73ca1 commit 504a83a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/definitions/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ export function overwriteStates(object: { states: Specification.States }) {
226226
((object.states as Specification.States).map((v) => {
227227
switch (v.type) {
228228
case 'sleep':
229-
return new Specification.Sleep(v);
229+
return new Specification.Sleepstate(v);
230230
case 'event':
231231
return new Specification.Eventstate(v);
232232
case 'operation':

0 commit comments

Comments
 (0)