1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-11 07:11:04 +01:00

Return a integer JSON type from "*.edit" endpoints for the object ID

Summary: See PHI425. See T12678. This should be an integer, but may be a string.

Test Plan: Called `differential.revision.edit`, observed integer in result instead of string.

Differential Revision: https://secure.phabricator.com/D19186
This commit is contained in:
epriestley 2018-03-07 06:20:18 -08:00
parent 9462f8aa89
commit 28854ae812

View file

@ -2092,7 +2092,7 @@ abstract class PhabricatorEditEngine
return array(
'object' => array(
'id' => $object->getID(),
'id' => (int)$object->getID(),
'phid' => $object->getPHID(),
),
'transactions' => $xactions_struct,