Skip to content

Commit

Permalink
Merge pull request #4309 from cyrusimap/resultreference
Browse files Browse the repository at this point in the history
Fix invalidResultReference error (as mentioned on IRC!)
  • Loading branch information
rsto authored Jul 31, 2023
2 parents 3d91437 + b0189d3 commit ba9d95a
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 @@ -766,7 +766,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 ba9d95a

Please sign in to comment.