Skip to content

Commit f8e62b3

Browse files
committed
fix(server): Add typescript build fixes for JSON import of NIH awards
1 parent f7e7fdc commit f8e62b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/openneuro-server/src/graphql/resolvers/brainInitiative.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { description } from "../../datalad/description"
55
import Metadata from "../../models/metadata"
66
import CacheItem, { CacheType } from "../../cache/item"
77
import * as Sentry from "@sentry/node"
8-
import fundedAwards from "../../data/funded_awards.json" with { type: "json" }
8+
import fundedAwards from "../../data/funded_awards.json"
99

1010
const brainInitiativeMatch = new RegExp("brain.initiative", "i")
1111

packages/openneuro-server/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"module": "CommonJS"
1010
},
1111
"include": ["./src"],
12-
"files": ["./src/lerna.json"],
12+
"files": ["./src/lerna.json", "./src/data/funded_awards.json"],
1313
"references": [
1414
{ "path": "../openneuro-search" }
1515
]

0 commit comments

Comments
 (0)