Files
twenty/packages
Sonarly Claude CodeandClaude Opus 4.6 e4a39416a9 Fix uploadFilesFieldFile mutation sent to wrong GraphQL endpoint
The usePersonAvatarUpload hook was passing the core Apollo client
(pointing to /graphql) to useUploadFilesFieldFileMutation, but the
uploadFilesFieldFile mutation is registered on the metadata schema
(/metadata). This caused "Cannot query field 'uploadFilesFieldFile'
on type 'Mutation'" errors. Remove the explicit core client override
so the mutation uses the default metadata client, matching how
useUploadImageMutation already works in the same hook.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-02-19 23:17:40 +00:00
..
2026-02-18 23:34:36 +01:00
2026-02-18 23:34:36 +01:00