Skip to content

Commit a87f54c

Browse files
author
Marek Suchánek
committed
Fix the example code
1 parent 088895d commit a87f54c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ use bugzilla_query::{Auth, BzInstance, Pagination};
4848
#[tokio::main]
4949
async fn main() -> Result<(), Box<dyn Error>> {
5050
let bugzilla = BzInstance::at("https://bugzilla.redhat.com".to_string())?
51-
.authenticate(Auth::ApiKey("My API Key"))
51+
.authenticate(Auth::ApiKey("My API Key".to_string()))
5252
.paginate(Pagination::Unlimited);
5353

5454
let query = "component=rust&product=Fedora&version=36";

0 commit comments

Comments
 (0)