Skip to content

Commit d03fedb

Browse files
fix: deactivation in acm
1 parent 76a00ad commit d03fedb

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/stateMachines/activation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1309,7 +1309,7 @@ export class Activation {
13091309
}
13101310
},
13111311
DEACTIVATION: {
1312-
entry: sendTo('deactivation-machine', {
1312+
entry: ({ context }) => sendTo('deactivation-machine', {
13131313
type: 'UNPROVISION',
13141314
clientId: ({ context }) => context.clientId,
13151315
tenantId: ({ context }) => context.tenantId

src/stateMachines/deactivation.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ export interface DeactivationEvent {
2626
type: 'UNPROVISION' | 'ONFAILED'
2727
clientId: string
2828
tenantId: string
29-
output: any
30-
error: any
29+
output?: any
30+
error?: any
3131
}
3232
export class Deactivation {
3333
configurator: Configurator
@@ -79,7 +79,7 @@ export class Deactivation {
7979
context: DeactivationContext
8080
events: DeactivationEvent
8181
actions: any
82-
input: any
82+
input: DeactivationContext
8383
},
8484
actors: {
8585
invokeUnprovision: fromPromise(this.invokeUnprovision),

0 commit comments

Comments
 (0)