mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 14:00:56 +01:00
Prevent exceptions when adding repositories via conduit.
Summary: Simple change to stop exceptions from being thrown based on the diff in D4146. Test Plan: arc call-conduit repository.create Reviewers: epriestley, btrahan Reviewed By: btrahan CC: vrana, aran, Korvin Maniphest Tasks: T2268 Differential Revision: https://secure.phabricator.com/D4342
This commit is contained in:
parent
1f58185f89
commit
21ed25019d
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ final class ConduitAPI_repository_create_Method
|
||||||
throw new ConduitException('ERR-DUPLICATE');
|
throw new ConduitException('ERR-DUPLICATE');
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->buildDictForRepository($repository);
|
return $repository->toDictionary();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue