Page MenuHomePhorge

D25517.1734667276.diff
No OneTemporary

D25517.1734667276.diff

diff --git a/src/applications/differential/conduit/DifferentialCreateRawDiffConduitAPIMethod.php b/src/applications/differential/conduit/DifferentialCreateRawDiffConduitAPIMethod.php
--- a/src/applications/differential/conduit/DifferentialCreateRawDiffConduitAPIMethod.php
+++ b/src/applications/differential/conduit/DifferentialCreateRawDiffConduitAPIMethod.php
@@ -71,12 +71,14 @@
$xactions = array(
id(new DifferentialDiffTransaction())
->setTransactionType(DifferentialDiffTransaction::TYPE_DIFF_CREATE)
+ ->setIsCreateTransaction(true)
->setNewValue($diff_data_dict),
);
if ($request->getValue('viewPolicy')) {
$xactions[] = id(new DifferentialDiffTransaction())
->setTransactionType(PhabricatorTransactions::TYPE_VIEW_POLICY)
+ ->setIsCreateTransaction(true)
->setNewValue($request->getValue('viewPolicy'));
}

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 04:01 (2 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1016505
Default Alt Text
D25517.1734667276.diff (905 B)

Event Timeline