From 9456013dc7adcb1dcd924b1e02e101084aec5187 Mon Sep 17 00:00:00 2001 From: red binder Date: Mon, 27 Apr 2026 17:05:27 +0200 Subject: [PATCH] Oops I forgot to disable device cert requirment for nex token --- src/nnid/provider.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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