1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 21:40:55 +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:
Michael Halstead 2013-01-10 15:37:38 -08:00 committed by epriestley
parent 1f58185f89
commit 21ed25019d

View file

@ -123,7 +123,7 @@ final class ConduitAPI_repository_create_Method
throw new ConduitException('ERR-DUPLICATE');
}
return $this->buildDictForRepository($repository);
return $repository->toDictionary();
}