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
1 changed files with 4 additions and 2 deletions

View File

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