Skip to content

Commit e78608b

Browse files
committed
Fix examples
Signed-off-by: Charles d'Avernas <charles.davernas@neuroglia.io>
1 parent b361596 commit e78608b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dsl-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2102,7 +2102,7 @@ do:
21022102
endpoint: https://fake.com/docs/asyncapi.json
21032103
operation: chat-inbox
21042104
protocol: http
2105-
filter:
2105+
subscription:
21062106
correlation: ${ . == $workflow.input.chat.roomId }
21072107
consume:
21082108
until: ($context.messages | length) == 5

examples/call-asyncapi-subscribe-consume-amount.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ do:
1010
document:
1111
endpoint: https://fake.com/docs/asyncapi.json
1212
operation: getNotifications
13-
protoçol: ws
13+
protocol: ws
1414
subscription:
1515
filter: '${ .correlationId == $context.userId and .payload.from.firstName == $context.contact.firstName and .payload.from.lastName == $context.contact.lastName }'
1616
consume:

0 commit comments

Comments
 (0)