test
This commit is contained in:
10
convex/abcv.ts
Normal file
10
convex/abcv.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
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();
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user