baj
05/31/2022, 1:19 AMrs
pub fn create_client(uri: String, key: String) -> Result<Postgrest, Box<dyn Error>> {
Ok(Postgrest::new(uri).insert_header("apikey", key));
}
Needle
05/31/2022, 1:19 AMNeedle
05/31/2022, 1:19 AMbaj
05/31/2022, 1:26 AMbaj
05/31/2022, 1:27 AMrs
pub fn create_client(uri: String, key: String) -> Result<Postgrest, Box<dyn Error>> {
let client = Postgrest::new(uri).insert_header("apikey", key);
Ok(client)
}
Needle
05/31/2022, 1:51 AMNeedle
05/31/2022, 1:51 AM