mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-10 23:01: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:
parent
9462f8aa89
commit
28854ae812
1 changed files with 1 additions and 1 deletions
|
@ -2092,7 +2092,7 @@ abstract class PhabricatorEditEngine
|
|||
|
||||
return array(
|
||||
'object' => array(
|
||||
'id' => $object->getID(),
|
||||
'id' => (int)$object->getID(),
|
||||
'phid' => $object->getPHID(),
|
||||
),
|
||||
'transactions' => $xactions_struct,
|
||||
|
|
Loading…
Reference in a new issue