Skip to content

Commit 841f760

Browse files
Merge pull request #9 from quizizz/publish_return
Return from publish
2 parents 314a77a + 7842075 commit 841f760

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class SQS {
120120
* @return {Promise}
121121
*/
122122
publish(name, content, meta = {}, handle = true, options = {}) {
123-
this.publishFlattened(name, { content }, meta, handle, options);
123+
return this.publishFlattened(name, { content }, meta, handle, options);
124124
}
125125

126126
publishFlattened(name, content, meta = {}, handle = true, options = {}) {

0 commit comments

Comments
 (0)