Fixed profile updated_at timestamp not updating.
This commit is contained in:
@@ -351,6 +351,7 @@ function curateProfileEntry(profile) {
|
||||
tattoos: profile.tattoos,
|
||||
blood_type: profile.bloodType,
|
||||
avatar_media_id: profile.avatarMediaId || null,
|
||||
updated_at: knex.raw('DEFAULT'), // default should be NOW(), this will update the column
|
||||
};
|
||||
|
||||
return curatedProfileEntry;
|
||||
|
||||
Reference in New Issue
Block a user