Skip to content

Commit

Permalink
Fix invalidResultReference error (as mentioned on IRC!)
Browse files Browse the repository at this point in the history
  • Loading branch information
brong authored and elliefm committed Aug 14, 2023
1 parent 92400e8 commit c2f7e60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imap/jmap_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ HIDDEN int jmap_api(struct transaction_t *txn,

/* Pre-process result references */
if (process_resultrefs(args, resp, &err)) {
if (!err) err = json_pack("{s:s}", "type", "resultReference");
if (!err) err = json_pack("{s:s}", "type", "invalidResultReference");

json_array_append_new(resp, json_pack("[s,o,s]", "error", err, tag));
json_decref(args);
Expand Down

0 comments on commit c2f7e60

Please sign in to comment.