Skip to content

Commit

Permalink
fix schema name in processViews()
Browse files Browse the repository at this point in the history
  • Loading branch information
gurza committed Sep 29, 2023
1 parent d0c2387 commit df05264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metadata/extractMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async function processViews(directory: string, schema: Schema) {

checkView(baseName, view) // FIXME: assuming checkView doesn't have side effects

schema.set(`${QUERY}.${name}`, {
schema.set(`${QUERY}.${baseName}`, {
view,
name: baseName,
cardinality: 'many',
Expand Down

0 comments on commit df05264

Please sign in to comment.