Skip to content

Commit

Permalink
Merge pull request #23 from CapgeminiInventUK/fix/fixGraphQLSchema
Browse files Browse the repository at this point in the history
fix: fix nested types issue
  • Loading branch information
itsrobinm authored Jan 19, 2024
2 parents 707211b + 2231660 commit c453052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/repository/schoolProfileRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class SchoolProfileRepository {
await this.collection.updateOne(
{ name },
{
$set: { [key]: { test: 2 } },
$set: { [key]: JSON.parse(value) },
$setOnInsert: { name },
},
{ upsert: true }
Expand Down

0 comments on commit c453052

Please sign in to comment.