Skip to content

Commit

Permalink
Merge branch 'develop' into feat/DEVSU-2468-gkb-user-creation-separate
Browse files Browse the repository at this point in the history
  • Loading branch information
elewis2 authored Jan 30, 2025
2 parents 011d73b + 1069dfe commit ff7d591
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/routes/variantText/variantText.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const createSchema = schemaGenerator(db.models.variantText, {
baseUri: '/create', exclude: [...BASE_EXCLUDE],
});
const updateSchema = schemaGenerator(db.models.variantText, {
baseUri: '/update', include: ['text'], nothingRequired: true,
baseUri: '/update', include: ['cancerType', 'text'], nothingRequired: true,
});

const pairs = {
Expand Down
2 changes: 1 addition & 1 deletion test/routes/variantText/variantText.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const UPDATE_DATA = {
text: '<p>new sample text</p>',
};
const INVALID_UPDATE_DATA = {
variantName: 'new variant name',
project_id: uuidv4(),
};

const variantTextProperties = [
Expand Down

0 comments on commit ff7d591

Please sign in to comment.