pinakes-ui: fix ApiClient clone to preserve auth token

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I2009ce790b3864105082997be12fe5b56a6a6964
This commit is contained in:
raf 2026-03-10 00:01:23 +03:00
commit 62058a7c4d
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF

View file

@ -26,7 +26,10 @@ pub struct ApiClient {
impl Clone for ApiClient {
fn clone(&self) -> Self {
Self::new(&self.base_url, None)
Self {
client: self.client.clone(),
base_url: self.base_url.clone(),
}
}
}