Problem with internalAction
const updatedRows: string[][] = await ctx.scheduler.runAfter(
0,
internal.files.handleBatchEnhance,
{
batch,
resourceColumnIndex: args.resourceColumnIndex,
actionType: args.actionType,
userId: args.userId,
profileSummarizationHeaderIndex:
args.profileSummarizationHeaderIndex,
companyInfoHeaderIndex: args.companyInfoHeaderIndex,
offering: args.offering,
resultColumnIndex: args.resultColumnIndex,
}
);
And it returns: kc2bcfhssjzpryzj28casn202572k8qa
But when i change this from internalAction to normal function it returns an array of rows as it should with the exact same code inside. When i run the handleBatchEnhance action in convex dashboard it also works so i guess I'm doing something wrong when calling this internal action.
