From 0b07ff68d95009415d442d737348e5a2e349328d Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Tue, 30 Mar 2021 16:42:54 +0200 Subject: [PATCH] Remove forgotten debug log --- src/migrations/ReplaceTtlWithExpiresAtFilesTable.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/migrations/ReplaceTtlWithExpiresAtFilesTable.ts b/src/migrations/ReplaceTtlWithExpiresAtFilesTable.ts index fd0be5e..722d853 100644 --- a/src/migrations/ReplaceTtlWithExpiresAtFilesTable.ts +++ b/src/migrations/ReplaceTtlWithExpiresAtFilesTable.ts @@ -1,6 +1,5 @@ import Migration from "swaf/db/Migration"; import FileModel from "../models/FileModel"; -import {logger} from "swaf/Logger"; export default class ReplaceTtlWithExpiresAtFilesTable extends Migration { public async install(): Promise { @@ -9,7 +8,6 @@ export default class ReplaceTtlWithExpiresAtFilesTable extends Migration { const files = await FileModel.select().get(); for (const file of files) { - logger.debug(file); if (file.created_at && typeof file.ttl === 'number' && file.ttl > 0) { file.expires_at = new Date(file.created_at.getTime() + file.ttl * 1000); }