Strage Error query2
args: {},
async handler(ctx) {
const permissions = await ctx.table("permissions").map((permission) => ({
_id: permission._id,
name: permission.name,
}));
return permissions;
},
});
is giving this error:
Error fetching POST https://convex-url-240.convex.cloud/api/push_config 400 Bad Request: InvalidModules: Hit an error while pushing:
Loading the pushed modules encountered the following
error:
Failed to analyze actionMessages.js: Uncaught TypeError: query2 is not a function
at <anonymous> (../../convex/permissions.ts:153:9)
Notes:
query is using my query in functions.ts as with convex-ents examples
im using the same function elsewhere with a different table name/function name and in a different its working just fine. (as we have 3 permission tables)
