mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
implement IMPORT_PEM apply
This commit is contained in:
parent
67ab5bb57e
commit
867a02a191
5 changed files with 30 additions and 18 deletions
|
|
@ -122,10 +122,16 @@ impl Gemini {
|
|||
profile
|
||||
.identity
|
||||
.gemini
|
||||
.create(None, &widget.form.name.value().unwrap())
|
||||
.unwrap(), // @TODO handle result,
|
||||
.make(None, &widget.form.name.value().unwrap())
|
||||
.unwrap(),
|
||||
),
|
||||
Value::IMPORT_PEM => Some(
|
||||
profile
|
||||
.identity
|
||||
.gemini
|
||||
.add(&widget.form.file.pem.take().unwrap())
|
||||
.unwrap(),
|
||||
),
|
||||
Value::IMPORT_PEM => Some(0), // @TODO
|
||||
};
|
||||
|
||||
// Apply
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue