From 84973144231b1568ca4a805d67c212f1ff69e28e Mon Sep 17 00:00:00 2001 From: Russia9 Date: Sat, 16 Apr 2022 19:23:58 +0300 Subject: [PATCH] a --- pkg/storage/mongodb/user.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/storage/mongodb/user.go b/pkg/storage/mongodb/user.go index ba85bd3..5c29df1 100644 --- a/pkg/storage/mongodb/user.go +++ b/pkg/storage/mongodb/user.go @@ -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