Open sagar-vaghela opened 5 months ago
@sagar-vaghela, please assign this issue to me so I can work on resolving the problem.
It is already fixed by @ansuha.
PR already raised. please review and merge
Hii @sagar-vaghela , you do not need to do any thing, only you update your server > models > postMessage.js file by this code `import mongoose from 'mongoose';
const postSchema = mongoose.Schema( { title: String, message: String, creator: String, tags: [String], selectedFile: String, likeCount: { type: Number, default: 0, }, }, { timestamps: true } );
var PostMessage = mongoose.model('PostMessage', postSchema);
export default PostMessage; `
@sagar-vaghela is it still open?, if yes please assign it to me, I can fix this issue
Please assign this issue to me . We have solved this issue by changing the timestamps value and date.now() while adding post
create a memory timing issue The past date is stored in the database while creating new memories.
https://github.com/adrianhajdin/project_mern_memories/assets/30215189/2900594d-c205-4cc9-9872-2f3ee5e22ec0