change routes and add todos

This commit is contained in:
Isaac Wise
2024-02-10 02:29:15 -06:00
parent 26997475fd
commit da0533ac36
4 changed files with 16 additions and 2 deletions
@@ -3,6 +3,7 @@ import { prisma } from "@/lib/api/db";
import getPermission from "@/lib/api/getPermission";
import { UsersAndCollections } from "@prisma/client";
// Need to fix this
export default async function updateLinksById(userId: number, linkIds: number[], data: LinkIncludingShortenedCollectionAndTags) {
if (!linkIds || linkIds.length === 0) {
return { response: "Please choose valid links.", status: 401 };