This commit is contained in:
Carl-Gerhard Lindesvärd
2024-08-28 23:22:49 +02:00
parent 1f3b56cdbb
commit 9fab18a895
2 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ import icoToPng from 'ico-to-png';
import sharp from 'sharp';
import { createHash } from '@openpanel/common';
import { ch, TABLE_NAMES } from '@openpanel/db';
import { ch, formatClickhouseDate, TABLE_NAMES } from '@openpanel/db';
import { getRedisCache } from '@openpanel/redis';
interface GetFaviconParams {
@@ -128,7 +128,7 @@ export async function ping(
{
domain: request.body.domain,
count: request.body.count,
created_at: new Date(),
created_at: formatClickhouseDate(new Date(), true),
},
],
format: 'JSONEachRow',