Fix comment

This commit is contained in:
Mubelotix 2025-06-19 15:49:34 +02:00
parent 705e9a9e5e
commit ab768f379f
No known key found for this signature in database
GPG key ID: 89F391DBCC8CE7F0

View file

@ -97,7 +97,7 @@ impl Server<Owned> {
self.use_api_key(master_key); self.use_api_key(master_key);
let (response, code) = self.list_api_keys("").await; let (response, code) = self.list_api_keys("").await;
assert_eq!(200, code, "{:?}", response); assert_eq!(200, code, "{:?}", response);
// TODO: relying on the order of keys is not ideal, we should use the static uuid // TODO: relying on the order of keys is not ideal, we should use the name instead
let admin_key = &response["results"][1]["key"]; let admin_key = &response["results"][1]["key"];
self.use_api_key(admin_key.as_str().unwrap()); self.use_api_key(admin_key.as_str().unwrap());
} }