Page MenuHomePhorge

D25517.1737336468.diff
No OneTemporary

D25517.1737336468.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
Mon, Jan 20, 01:27 (1 d, 6 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1135481
Default Alt Text
D25517.1737336468.diff (905 B)

Event Timeline