Unverified Commit cd4d6504 authored by Ben Schofield's avatar Ben Schofield Committed by GitHub
Browse files

Fix DSQL SDK token generation example (#3937)

## Motivation and Context
This example doesn't reflect the token generation API accurately, this
PR fixes that.

## Description
Fix the example by using the right API.

## Testing
Documentation update on an ignored code block, no testing required

## Checklist
<!--- If a checkbox below is not applicable, then please DELETE it
rather than leaving it unchecked -->

----

_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
parent 20ad770e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ const SERVICE: &str = "dsql";
///            .build()
///            .expect("cfg is valid"),
///    );
///    let token = generator.auth_token(&cfg).await.unwrap();
///    let token = generator.db_connect_admin_auth_token(&cfg).await.unwrap();
///    println!("{token}");
/// }
/// ```