Add validity/expiration date for motd
Here we should consider after what time a message is no longer valid.
Let's say 3 days, then we can compare the value with today's day using the attribute createdAt
and filter out these messages directly.
- GET request could also get a parameter with today's day to do the filtering directly from the DB
Edited by Alexander Jajzler