bdeline2
03/18/2022, 5:08 PMasync().all(
() => LookupRepository.getCategories()
).then(
(results) => WriteLog(file='AsyncFutures',text="#serializeJSON(results)#")
).onException(
(results) => WriteLog(file='AsyncFutureErrors',text="#serializeJSON(results)#")
)
I'm getting an error in the 'AsyncFutureErrors' log about the key 'site' not existing in 'request' scope. Is the current request scope not visible inside of a cbfuture? It'd make sense. Is there a workaround? I'm absolutely new to CB Futures.
Thanks.sknowlton
03/18/2022, 5:19 PMsknowlton
03/18/2022, 5:20 PM<http://request.site|request.site>
should be passed into the DAL to maintain encapsulationbdeline2
03/18/2022, 5:45 PMbdw429s
03/20/2022, 3:20 AMbdeline2
03/20/2022, 2:24 PM