diff --git a/src/nnid/oauth/generate_token.rs b/src/nnid/oauth/generate_token.rs index 9383359..012627f 100644 --- a/src/nnid/oauth/generate_token.rs +++ b/src/nnid/oauth/generate_token.rs @@ -95,7 +95,7 @@ impl TokenReturnData { } } async fn new_with_cert(pid: i32, cert: Option<&[u8]>, pool: &Pool) -> Self { - let token = create_token(pool, pid, AUTH_TOKEN, None, None).await; + let token = create_token(pool, pid, AUTH_TOKEN, None, cert).await; let refresh_token = create_token(pool, pid, AUTH_REFRESH_TOKEN, None, cert).await;