I want to create a firebase function that would delete or update a document after 24 hours like Instagram stories. Would this implementation work?
// 24 hours