mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
@@ -275,6 +275,10 @@ exports.updateAdvertisement = async (req, res) => {
|
||||
}
|
||||
};
|
||||
|
||||
// TODO(ads-7): Once expired (end_date passed), an advertisement should be
|
||||
// auto-archived (soft-deleted via the same path as archiveAdvertisement below)
|
||||
// instead of just sitting at derived status "expired" indefinitely. Add a
|
||||
// cron job — see TODO(ads-7) in new_starr/cron/client.cron.js.
|
||||
// ─── ARCHIVE (single) ─────────────────────────────────────────────────────────
|
||||
|
||||
exports.archiveAdvertisement = async (req, res) => {
|
||||
|
||||
Reference in New Issue
Block a user