Fix missing parameter on AccountSave

This commit is contained in:
Samuel Hawksby-Robinson 2020-12-01 13:27:26 +00:00 committed by Andrea Maria Piana
parent 9f525d32c4
commit d07ec1a98f
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ func (db *Database) GetAccounts() ([]Account, error) {
}
func (db *Database) SaveAccount(account Account) error {
_, err := db.db.Exec("INSERT OR REPLACE INTO accounts (name, identicon, keycardPairing, keyUid) VALUES (?, ?, ?)", account.Name, account.Identicon, account.KeycardPairing, account.KeyUID)
_, err := db.db.Exec("INSERT OR REPLACE INTO accounts (name, identicon, keycardPairing, keyUid) VALUES (?, ?, ?, ?)", account.Name, account.Identicon, account.KeycardPairing, account.KeyUID)
return err
}