Skip to content

Commit 84ae783

Browse files
authored
Bump v-api. Add more config defaults (#422)
1 parent 5c389bb commit 84ae783

3 files changed

Lines changed: 10 additions & 7 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ spec.toml
1111
key.json
1212
test-key.json
1313
gcp.json
14+
rfd-api.log.*
1415

1516
node_modules
1617
.cargo
1718
.flox
1819
.rustup
1920
/config/
2021
local_data
21-
.env
22+
.env

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rfd-api/src/initial_data.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ use crate::permissions::RfdPermission;
1414

1515
#[derive(Debug, Deserialize)]
1616
pub struct InitialData {
17+
#[serde(default)]
1718
pub groups: Vec<InitialGroup>,
19+
#[serde(default)]
1820
pub mappers: Vec<InitialMapper>,
1921
}
2022

0 commit comments

Comments
 (0)