Issue Tracker
One script reply has been approved by the moderators Verified

Read the blog post about how this app was created here: Create an Issue Tracker in 15 minutes

Created by adam186 443 days ago
Static preview only: No backend 
This is a static preview of the app and there is no backend. As such, the interactivity requiring script execution is non functional. To see the fully functional app, edit/run it in Windmil by clicking the button above.

Scripts used

import { Resource } from "https://deno.land/x/windmill@v1.60.0/mod.ts";
import { createClient } from "https://esm.sh/@supabase/supabase-js@2";

export async function main(auth: Resource<"supabase">, id: string) {
  const client = createClient(auth.supabaseUrl, auth.supabaseKey);
  return await client.from("issues").delete().filter("id", "eq", id);