Skip to content

Commit 2cada43

Browse files
committed
Make Keys fields optional
These fields are nullable
1 parent f9c2184 commit 2cada43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/client.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@ pub struct ClientStats {
260260
#[derive(Deserialize)]
261261
#[serde(rename_all = "camelCase")]
262262
pub struct Keys {
263-
pub public: String,
264-
pub private: String,
263+
pub public: Option<String>,
264+
pub private: Option<String>,
265265
}
266266

267267
/// Version of a MeiliSearch server.

0 commit comments

Comments
 (0)