burnstony#1975
burnstony#197511mo ago

action

can't seem to get action to call mutation convex/addPodcast.ts:78:27 - error TS2345: Argument of type 'RegisteredMutation<"public", { rss_body: string; id: Id<"podcast">; }, Promise<void>>' is not assignable to parameter of type 'FunctionReference<"mutation", "public" | "internal">'. 78 await ctx.runMutation(patchPodcastRss, {
2 Replies
ballingt
ballingt11mo ago
Instead of using the imported or from-the-same-file function object, use api.addPodcast.patchPodcastRss
burnstony#1975
burnstony#1975OP11mo ago
thank you

Did you find this page helpful?