mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-08 22:01:03 +01:00
Add a missing (int) cast to diff IDs for new "transaction.search" method
Summary: These come out of the database as strings (see T12678), force them to integers for the API. Test Plan: Called `transaction.search`, got integers in JSON instead of strings. Reviewers: chad Reviewed By: chad Differential Revision: https://secure.phabricator.com/D18476
This commit is contained in:
parent
94cad30ac3
commit
213e4ec9b5
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ final class DifferentialRevisionInlineTransaction
|
|||
|
||||
return array(
|
||||
'diff' => array(
|
||||
'id' => $diff->getID(),
|
||||
'id' => (int)$diff->getID(),
|
||||
'phid' => $diff->getPHID(),
|
||||
),
|
||||
'path' => $changeset->getDisplayFilename(),
|
||||
|
|
Loading…
Reference in a new issue