refactor: split pre-request function out of setPgLocals
This commit is contained in:
@@ -223,4 +223,5 @@ handleRequest AuthResult{..} conf appState authenticated prepared jsonDbS pgVer
|
||||
runQuery mode query =
|
||||
runDbHandler appState mode authenticated prepared $ do
|
||||
Query.setPgLocals conf authClaims authRole apiReq jsonDbS pgVer
|
||||
Query.runPreReq conf
|
||||
query
|
||||
|
||||
Reference in New Issue
Block a user