We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 818bc6d commit 944aa5dCopy full SHA for 944aa5d
lib/api/route/messages.dart
@@ -193,7 +193,7 @@ Future<SendMessageResult> sendMessage(
193
'to': destination.userIds,
194
}}),
195
'content': RawParameter(content),
196
- if (queueId != null) 'queue_id': queueId, // TODO should this use RawParameter?
+ if (queueId != null) 'queue_id': RawParameter(queueId),
197
if (localId != null) 'local_id': localId, // TODO should this use RawParameter?
198
if (readBySender != null) 'read_by_sender': readBySender,
199
},
test/api/route/messages_test.dart
@@ -362,7 +362,7 @@ void main() {
362
'to': streamId.toString(),
363
'topic': topic,
364
'content': content,
365
- 'queue_id': '"abc:123"',
+ 'queue_id': 'abc:123',
366
'local_id': '"456"',
367
'read_by_sender': 'true',
368
});
0 commit comments