Skip to content

Commit 17110eb

Browse files
committed
cargo fmt
1 parent b7d6372 commit 17110eb

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

nexus/src/external_api/http_entrypoints.rs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6870,9 +6870,8 @@ impl NexusExternalApi for NexusExternalApiImpl {
68706870
let path = path_params.into_inner();
68716871
let opctx =
68726872
crate::context::op_context_for_external_api(&rqctx).await?;
6873-
let (.., user) = nexus
6874-
.current_silo_user_lookup(&opctx, path.user_id)
6875-
.await?;
6873+
let (.., user) =
6874+
nexus.current_silo_user_lookup(&opctx, path.user_id).await?;
68766875
Ok(HttpResponseOk(user.into()))
68776876
};
68786877
apictx
@@ -6886,7 +6885,8 @@ impl NexusExternalApi for NexusExternalApiImpl {
68866885
rqctx: RequestContext<Self::Context>,
68876886
path_params: Path<params::UserPath>,
68886887
query_params: Query<PaginatedById>,
6889-
) -> Result<HttpResponseOk<ResultsPage<views::DeviceAccessToken>>, HttpError> {
6888+
) -> Result<HttpResponseOk<ResultsPage<views::DeviceAccessToken>>, HttpError>
6889+
{
68906890
let apictx = rqctx.context();
68916891
let handler = async {
68926892
let nexus = &apictx.context.nexus;
@@ -6918,7 +6918,8 @@ impl NexusExternalApi for NexusExternalApiImpl {
69186918
rqctx: RequestContext<Self::Context>,
69196919
path_params: Path<params::UserPath>,
69206920
query_params: Query<PaginatedById>,
6921-
) -> Result<HttpResponseOk<ResultsPage<views::ConsoleSession>>, HttpError> {
6921+
) -> Result<HttpResponseOk<ResultsPage<views::ConsoleSession>>, HttpError>
6922+
{
69226923
let apictx = rqctx.context();
69236924
let handler = async {
69246925
let nexus = &apictx.context.nexus;

0 commit comments

Comments
 (0)