The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update restore-backup.ts
Tim Wilsonfd8a2955cddb
diff --git a/apps/web/scripts/restore-backup.ts b/apps/web/scripts/restore-backup.tsindex 70076b426c..588cc1df76 100644--- a/apps/web/scripts/restore-backup.ts+++ b/apps/web/scripts/restore-backup.ts@@ -1,12 +1,12 @@import { bulkCreateLinks } from "@/lib/api/links";import prisma from "@/lib/prisma";-import { LinkWithTagIdsProps } from "@/lib/types";import { redis } from "@/lib/upstash";import "dotenv-flow/config";const domain = "xxx";async function main() {+ // TODO: Figure out the right way to type this (do we need to run processLink for these before creating?)const restoredData = await redis.lrange<LinkWithTagIdsProps>("restoredData",0,