Skip to content

Commit

Permalink
fix: add LotNumber to StandardCurve
Browse files Browse the repository at this point in the history
  • Loading branch information
wvxcheung committed Nov 29, 2023
1 parent 5efa779 commit 94128c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion graphql/api/relationships.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ export const tableRelationships: TableRelationships = {
StandardCurve: [
{
table: 'samples',
foreignKeys: ['sampID', 'sampleID'],
foreignKeys: 'sampleID',
auth: { depth: 2, required: true },
},
],
Expand Down
3 changes: 2 additions & 1 deletion graphql/schema/StandardCurve.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ input StandardCurveFilter {
CDCB_Curve_ID: StringFilter
RSVA_Curve_ID: StringFilter
RSVB_Curve_ID: StringFilter
LotNumber: StringFilter
}

type StandardCurve {
Expand All @@ -16,7 +17,7 @@ type StandardCurve {
CDCB_Curve_ID: String
RSVA_Curve_ID: String
RSVB_Curve_ID: String
# sample: Samples
LotNumber: String
}

extend type Query {
Expand Down

0 comments on commit 94128c8

Please sign in to comment.