diff --git a/src/models/response/sendResponse.ts b/src/models/response/sendResponse.ts index 7111e548a6..4c073dd18a 100644 --- a/src/models/response/sendResponse.ts +++ b/src/models/response/sendResponse.ts @@ -63,7 +63,7 @@ export class SendResponse implements BaseResponse { private static getStandardDeletionDate(days: number) { const d = new Date(); - d.setHours(d.getHours() + (days * 24)); + d.setTime(d.getTime() + (days * 86400000)) // ms per day return d; }