10 lines
269 B
TypeScript
10 lines
269 B
TypeScript
import { query } from "./_generated/server";
|
|
|
|
export const get = query({
|
|
args: {},
|
|
handler: async (ctx) => {
|
|
const auth = await ctx.auth.getUserIdentity();
|
|
console.log("Query abcv.get called", auth);
|
|
return await ctx.db.query("abcv").collect();
|
|
},
|
|
}); |