This is another PR on the long road of fixing the /find/ endpoint.
Here, we are adding a custom serializer for the response, so that we don't get type errors.
I could confirm on my local instance that the submission is now returned properly and that no error occurs.
Whether the author and transcription are also returned correctly is hard to test locally without creating and patching a bunch of objects. So I'm hoping that this will be the last PR.
Relevant issue: N/A
Description:
This is another PR on the long road of fixing the
/find/
endpoint. Here, we are adding a custom serializer for the response, so that we don't get type errors.I could confirm on my local instance that the submission is now returned properly and that no error occurs. Whether the author and transcription are also returned correctly is hard to test locally without creating and patching a bunch of objects. So I'm hoping that this will be the last PR.
Checklist: