Clinical-Genomics/genotype-api

Sex set to null when changing it with a Patch

Closed this issue · 1 comments

elevu commented

If I change sex with a :

/PATCH https://genotype-stage.scilifelab.se/samples/ADM1587A1/sex?sex=male

and then I get a plate

/GET https://genotype-stage.scilifelab.se/plates/1

created_at: "2016-09-15T12:39:53" id: 9 plate_id: "1" sample: {status: "pass", comment: null} sample_id: "ADM1587A1" sex: null source: "/home/ec2-user/ID30_FM3_SUMMARY_160706_pk_AF_KD.xlsx" type: "genotype"

The sample sex is now null

Done