// import { query, mutation, action } from "./_generated/server"; // import { v } from "convex/values"; // export const get = query({ // args: {}, // handler: async (ctx) => { // const auth = await ctx.auth.getUserIdentity(); // console.log("Query test2 called, auth:", auth); // if (auth) { // console.log("Authenticated user ID:", auth.subject); // } // return await ctx.db.query("test2").collect(); // }, // }); // export const get2 = query({ // args: {}, // handler: async (ctx) => { // const auth = await ctx.auth.getUserIdentity(); // console.log("Query test2 called, auth:", auth); // if (auth) { // console.log("Authenticated user ID:", auth.subject); // } // return await ctx.db.query("test2").collect(); // }, // });