From 953fe9bb4ff835bf2d0fe7a0d971476e4912ab79 Mon Sep 17 00:00:00 2001 From: Jared Hancock <jared@osticket.com> Date: Thu, 1 May 2014 09:57:52 -0500 Subject: [PATCH] oops: Add "size" to the allowed keys for attachments --- include/api.tickets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/api.tickets.php b/include/api.tickets.php index 60907d56e..14bd9cbf8 100644 --- a/include/api.tickets.php +++ b/include/api.tickets.php @@ -12,7 +12,7 @@ class TicketApiController extends ApiController { $supported = array( "alert", "autorespond", "source", "topicId", "attachments" => array("*" => - array("name", "type", "data", "encoding") + array("name", "type", "data", "encoding", "size") ), "message", "ip", "priorityId" ); -- GitLab