Use origin_visit_get_latest instead of snapshot_get_latest.
snapshot_get_latest is deprecated, and one of the call didn't need to get the branches at all, only the id.
Migrated from D2729 (view on Phabricator)
Staging instance, all changes can be removed at any time
snapshot_get_latest is deprecated, and one of the call didn't need to get the branches at all, only the id.
Migrated from D2729 (view on Phabricator)