fix: Added support for intialisation of CurrentUserStatus to Automatic after profile creation (#2798)

This commit is contained in:
Khushboo-dev-cpp 2022-08-23 14:25:34 +02:00 committed by GitHub
parent 25a80cf20b
commit ef21440e32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,10 +108,11 @@ INSERT INTO settings (
public_key, public_key,
signing_phrase, signing_phrase,
wallet_root_address, wallet_root_address,
synthetic_id synthetic_id,
current_user_status
) VALUES ( ) VALUES (
?,?,?,?,?,?,?,?,?,?,?,?, ?,?,?,?,?,?,?,?,?,?,?,?,
?,?,?,?,?,?,?,?,?,'id')`, ?,?,?,?,?,?,?,?,?,'id',?)`,
s.Address, s.Address,
s.Currency, s.Currency,
s.CurrentNetwork, s.CurrentNetwork,
@ -133,6 +134,7 @@ INSERT INTO settings (
s.PublicKey, s.PublicKey,
s.SigningPhrase, s.SigningPhrase,
s.WalletRootAddress, s.WalletRootAddress,
s.CurrentUserStatus,
) )
if err != nil { if err != nil {
return err return err