diff --git a/src/nnid/provider.rs b/src/nnid/provider.rs index a1aa3cd..a178b53 100644 --- a/src/nnid/provider.rs +++ b/src/nnid/provider.rs @@ -45,7 +45,7 @@ pub struct ServiceToken{ } #[get("/v1/api/provider/service_token/@me")] -pub async fn get_service_token(pool: &State, auth: Auth) -> Result, Option>>{ +pub async fn get_service_token(pool: &State, auth: Auth) -> Result, Option>>{ // just gonna put this here as a side note for the future: // we could also be using key derivation to derive the nex token as if it were a key // that way we could reduce the data the database needs to store and also reduce the transfer @@ -69,7 +69,7 @@ pub async fn get_service_token(pool: &State, auth: Auth) -> Result")] -pub async fn get_nex_token(pool: &State, auth: Auth, game_server_id: &str) -> Result, Option>>{ +pub async fn get_nex_token(pool: &State, auth: Auth, game_server_id: &str) -> Result, Option>>{ // just gonna put this here as a side note for the future: // we could also be using key derivation to derive the nex token as if it were a key // that way we could reduce the data the database needs to store and also reduce the transfer