diff --git a/src/components/ProjectTeam.tsx b/src/components/ProjectTeam.tsx index 1824f72..850dea8 100644 --- a/src/components/ProjectTeam.tsx +++ b/src/components/ProjectTeam.tsx @@ -40,9 +40,6 @@ const ProjectTeams = ({ projects }: ProjectTeamsProps) => {

{projects[teamNumber].teamDetails.teamName}

{projects[teamNumber].teamDetails.description} -

View the teams!

diff --git a/src/scripts/updateProjects.ts b/src/scripts/updateProjects.ts index 1568eaa..fc61fe3 100644 --- a/src/scripts/updateProjects.ts +++ b/src/scripts/updateProjects.ts @@ -2,7 +2,7 @@ import { Client } from "@notionhq/client"; import type { projectRow } from '../types/projectRow.ts'; import axios from 'axios'; import sharp from "sharp"; -import { supabase } from '../lib/supabaseClient'; +import { supabase } from '../lib/supabaseClient'; import { supabaseUrl } from '../lib/supabaseClient'; import { prisma } from "../lib/prisma.ts"; import type { APIRoute } from 'astro'; @@ -82,6 +82,8 @@ export async function updateProjects(controller: ReadableStreamDefaultController const projectsRows = query.results as projectRow[]; + console.log(projectsRows[0].properties) + const projectPromises = projectsRows.map(async (row) => { const title = row.properties.Name.title[0] ? row.properties.Name.title[0].plain_text : ""; const dateStr = row.properties.Date.date ? row.properties.Date.date.start : "";