@openneuro/server 4.34.1 → 4.34.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openneuro/server",
3
- "version": "4.34.1",
3
+ "version": "4.34.2",
4
4
  "description": "Core service for the OpenNeuro platform.",
5
5
  "license": "MIT",
6
6
  "main": "src/server.js",
@@ -21,7 +21,7 @@
21
21
  "@elastic/elasticsearch": "8.13.1",
22
22
  "@graphql-tools/schema": "^10.0.0",
23
23
  "@keyv/redis": "^2.7.0",
24
- "@openneuro/search": "^4.34.1",
24
+ "@openneuro/search": "^4.34.2",
25
25
  "@sentry/node": "^8.25.0",
26
26
  "@sentry/profiling-node": "^8.25.0",
27
27
  "base64url": "^3.0.0",
@@ -85,5 +85,5 @@
85
85
  "publishConfig": {
86
86
  "access": "public"
87
87
  },
88
- "gitHead": "af9d77970641f2dcfd67921a8c39b9719743676c"
88
+ "gitHead": "6420eabb1a1b5068990523eb57991597faffb73e"
89
89
  }
@@ -192,7 +192,7 @@ export const participantCount = (obj, { modality }) => {
192
192
  matchQuery = {
193
193
  $expr: { $in: ["$id", nihDatasets] },
194
194
  }
195
- } else {
195
+ } else if (modality) {
196
196
  matchQuery = {
197
197
  $and: [
198
198
  queryHasSubjects,