[Rt-commit] rt branch 5.0.2-releng updated. rt-5.0.2beta1-2-g5ff120dc8c

Gitolite git at git.bestpractical.com
Fri Aug 13 15:22:28 UTC 2021


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".

The branch, 5.0.2-releng has been updated
       via  5ff120dc8c72765c683a8ace7e3797004eaae28a (commit)
      from  c251dfeb39709c3482e56b0cc98029215c0713ad (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5ff120dc8c72765c683a8ace7e3797004eaae28a
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Fri Aug 13 23:20:32 2021 +0800

    Fix the missing "}" in REST2 example

diff --git a/lib/RT/REST2.pm b/lib/RT/REST2.pm
index abeef7d3b0..0c23710ee6 100644
--- a/lib/RT/REST2.pm
+++ b/lib/RT/REST2.pm
@@ -1233,7 +1233,7 @@ image or binary files as custom fields values.
                     "Content"    : "That <em>damned</em> printer is out of order <b>again</b>!",
                     "ContentType": "text/html",
                     "CustomFields"  : {
-                        "XX_SINGLE_IMAGE_OR_BINARY_CF_ID_XX"   => { "UploadField": "FILE_1",
+                        "XX_SINGLE_IMAGE_OR_BINARY_CF_ID_XX"   => { "UploadField": "FILE_1" },
                         "XX_MULTI_VALUE_IMAGE_OR_BINARY_CF_ID" => [ { "UploadField": "FILE_2" }, { "UploadField": "FILE_3" } ]
                     }
                   };type=application/json'

-----------------------------------------------------------------------

Summary of changes:
 lib/RT/REST2.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
rt


More information about the rt-commit mailing list