Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterPtato committed Dec 29, 2023
1 parent 777e145 commit a0ec22d
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/claims/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use prost::Message;
use std::{convert::TryFrom, sync::Arc};

mod schema {
pub use types::rivet::{backend, claims::*, common};
pub use types::rivet::{backend, claims::*};
}

macro_rules! expect_two {
Expand Down
5 changes: 3 additions & 2 deletions svc/api/cloud/src/route/tiers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ pub async fn list_tiers(
) -> GlobalResult<models::CloudGetRegionTiersResponse> {
let datacenters_res = op!([ctx] cluster_datacenter_list {
cluster_ids: vec![util::env::default_cluster_id().into()],
}).await?;
})
.await?;
let cluster = unwrap!(datacenters_res.clusters.first());

let res = op!([ctx] tier_list {
region_ids: cluster.datacenter_ids.clone(),
})
Expand Down
2 changes: 1 addition & 1 deletion svc/pkg/mm/ops/lobby-list-for-user-id/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use proto::backend::{self, pkg::*};
use proto::backend::pkg::*;
use rivet_operation::prelude::*;

#[derive(sqlx::FromRow)]
Expand Down
1 change: 0 additions & 1 deletion svc/pkg/module/ops/game-version-publish/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ license = "Apache-2.0"
rivet-operation = { path = "../../../../../lib/operation/core" }
chirp-client = { path = "../../../../../lib/chirp/client" }
prost = "0.10"
unzip-n = "0.1.2"
itertools = "0.10.5"

[dependencies.sqlx]
Expand Down
1 change: 0 additions & 1 deletion svc/pkg/module/ops/game-version-publish/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use proto::backend::{self, pkg::*};
use rivet_operation::prelude::*;
use unzip_n::unzip_n;

#[operation(name = "module-game-version-publish")]
async fn handle(
Expand Down
1 change: 0 additions & 1 deletion svc/pkg/user/ops/get/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use proto::backend::{self, pkg::*};
use rivet_operation::prelude::*;
use rivet_pools::prelude::*;

#[derive(sqlx::FromRow)]
struct UserRow {
Expand Down

0 comments on commit a0ec22d

Please sign in to comment.