Browse Source

a

master
Andrey Kovalev 3 years ago
parent
commit
8497314423
Signed by: Russia9
GPG Key ID: EC3AA65373CA51DC
  1. 3
      pkg/storage/mongodb/user.go

3
pkg/storage/mongodb/user.go

@ -40,7 +40,8 @@ func (r *userRepo) Store(ctx context.Context, object *domain.User) error { @@ -40,7 +40,8 @@ func (r *userRepo) Store(ctx context.Context, object *domain.User) error {
object.Guild = old.Guild
}
// Set old source
// Set old values
object.FirstSeen = old.FirstSeen
object.Source = old.Source
// Set LastSeen date

Loading…
Cancel
Save