Skip to content

Commit cb73c99

Browse files
committed
chore: force fallback to DB in RB requests
1 parent 479b790 commit cb73c99

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/services/ResourceBookingService.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,7 @@ async function searchResourceBookings (currentUser, criteria, options = { return
472472
criteria.sortOrder = 'desc'
473473
}
474474
try {
475+
throw new Error('fallback to DB')
475476
const esQuery = {
476477
index: config.get('esConfig.ES_INDEX_RESOURCE_BOOKING'),
477478
_source_includes: queryOpt.include,

0 commit comments

Comments
 (0)