This commit is contained in:
Max Goedjen
2022-01-02 22:52:53 -08:00
parent d80d2ca656
commit df4661a718
6 changed files with 57 additions and 33 deletions

View File

@@ -54,7 +54,7 @@ struct CreateSecretView<StoreType: SecretStoreModifiable, AgentCommunicationCont
func save() {
try! store.create(name: name, requiresAuthentication: requiresAuthentication)
Task {
try! await agentCommunicationController.agent.updatedStore(withID: store.id)
try! await agentCommunicationController.agent!.updatedStore(withID: store.id)
}
showing = false
}