src/api2/config/datastore.rs: fix api docu
This commit is contained in:
parent
424766bc3b
commit
f0db500808
@ -32,7 +32,7 @@ pub const POST: ApiMethod = ApiMethod::new(
|
|||||||
"Create new datastore.",
|
"Create new datastore.",
|
||||||
&[
|
&[
|
||||||
("name", false, &DATASTORE_SCHEMA),
|
("name", false, &DATASTORE_SCHEMA),
|
||||||
("path", false, &StringSchema::new("Directory path (must exist).").schema()),
|
("path", false, &StringSchema::new("Directory path. The directory path is created if it does not already exist.").schema()),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user