mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
feat: workspace invite (#4827)
* feat: add rename and change icon for workspace cloud api * feat: added created at field for UserWorkspacePB * test: added view check after creating workspace * fix: allow new_icon to be empty string * feat: add invitation api cloud services * chore: cargo clippy * chore: merge conflict * feat: add workspace invitation test * fix: use back old role and af role * chore: use 1.75 channel rust toolchain * chore: added error for test case * chore: added ci var * chore: cargo clippy
This commit is contained in:
@ -69,7 +69,7 @@ impl CalculationsService {
|
||||
}
|
||||
}
|
||||
|
||||
fn median(array: &Vec<f64>) -> f64 {
|
||||
fn median(array: &[f64]) -> f64 {
|
||||
if (array.len() % 2) == 0 {
|
||||
let left = array.len() / 2 - 1;
|
||||
let right = array.len() / 2;
|
||||
|
Reference in New Issue
Block a user