small review fixes

This commit is contained in:
x032205
2025-10-10 14:50:16 -04:00
parent f498cf9dd8
commit 425a883662
2 changed files with 1 additions and 2 deletions
@@ -26,7 +26,6 @@ export const gatewayV2DalFactory = (db: TDbClient) => {
if (isHeartbeatStale) { if (isHeartbeatStale) {
const oneHourAgo = new Date(Date.now() - 60 * 60 * 1000); const oneHourAgo = new Date(Date.now() - 60 * 60 * 1000);
void query.whereNotNull(`${TableName.GatewayV2}.heartbeat`);
void query.where(`${TableName.GatewayV2}.heartbeat`, "<", oneHourAgo); void query.where(`${TableName.GatewayV2}.heartbeat`, "<", oneHourAgo);
void query.where((v) => { void query.where((v) => {
void v void v
@@ -26,7 +26,7 @@ export const HealthAlertTemplate = ({ siteUrl, names, type }: HealthAlertTemplat
<Text className="text-black text-[14px] leading-[24px]"> <Text className="text-black text-[14px] leading-[24px]">
{type === "instance-relay" && ( {type === "instance-relay" && (
<> <>
If your issue persists, you can contact the Infisical team at{" "} If the issue persists, you can contact the Infisical team at{" "}
<BaseLink href="mailto:[email protected]">[email protected]</BaseLink>. <BaseLink href="mailto:[email protected]">[email protected]</BaseLink>.
</> </>
)} )}