TotallyDarkT
Convex Community2y ago
3 replies
TotallyDark

How do I use internal mutations?

I am trying to upload generated images to Convex DB and following this Convex tutorial: https://docs.convex.dev/file-storage/store-files. However I am getting this error when I try to call the mutation, any pointers?: (Attached Schema and Error)

Property 'TodayLunchPhoto' does not exist on type '{ upload: { saveStorageId: FunctionReference<"mutation", "internal", { storageId: Id<"_storage">; }, -1 | null>; }; }'
TodayLunchPhoto_DNE.png
schema.png
Was this page helpful?