File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -416,7 +416,7 @@ export const queryApi = api.injectEndpoints({
416416
417417 return { data : pools } ;
418418 } catch ( error ) {
419- return { error : error || 'Unauthorized' } ;
419+ return { error} ;
420420 }
421421 } ,
422422 } ) ,
Original file line number Diff line number Diff line change @@ -365,6 +365,6 @@ export const querySettingsRestoreSchema = z
365365 statisticsMode : statisticsModeSchema . catch ( DEFAULT_QUERY_SETTINGS . statisticsMode ) ,
366366 tracingLevel : tracingLevelSchema . catch ( DEFAULT_QUERY_SETTINGS . tracingLevel ) ,
367367 pragmas : z . string ( ) . catch ( DEFAULT_QUERY_SETTINGS . pragmas ) ,
368- resourcePool : z . string ( ) . optional ( ) ,
368+ resourcePool : z . string ( ) . optional ( ) . catch ( DEFAULT_QUERY_SETTINGS . resourcePool ) ,
369369 } )
370370 . catch ( DEFAULT_QUERY_SETTINGS ) ;
You can’t perform that action at this time.
0 commit comments