Jay
Ömer Toraman
11/25/2021, 8:57 PMDan Greaves
11/25/2021, 9:18 PMthdxr
11/25/2021, 9:24 PMÖmer Toraman
11/25/2021, 9:25 PMÖmer Toraman
11/25/2021, 9:26 PMaws-lambda
package typesDan Greaves
11/25/2021, 9:28 PMcheckAccountActive(context)
. You could put that at the top of your function, and it will throw an exception if not active, but then you need to catch it in your function to return the response which matches your error response type. At the moment, I’m repeating that logic in basically every function, so not quite sure how to improve it.Ömer Toraman
11/25/2021, 9:29 PMÖmer Toraman
11/25/2021, 9:30 PMÖmer Toraman
11/25/2021, 9:31 PMthdxr
11/25/2021, 10:32 PMthdxr
11/25/2021, 10:32 PMÖmer Toraman
11/25/2021, 10:41 PMÖmer Toraman
11/25/2021, 10:41 PMSlawomir Stec
11/26/2021, 2:42 AMSean Matheson
11/26/2021, 11:40 AMSean Matheson
11/26/2021, 11:40 AMSean Matheson
11/26/2021, 11:41 AMthdxr
11/26/2021, 3:06 PM