From d7e03af44fa56345ee01f317c66fe2486f2daacb Mon Sep 17 00:00:00 2001 From: RobKraft Date: Sun, 8 Dec 2024 20:01:55 -0600 Subject: [PATCH] Is this what I need to do? --- Lambdas/GetCharityTypes/Function.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Lambdas/GetCharityTypes/Function.cs b/Lambdas/GetCharityTypes/Function.cs index 4db9012..b2226ad 100644 --- a/Lambdas/GetCharityTypes/Function.cs +++ b/Lambdas/GetCharityTypes/Function.cs @@ -34,9 +34,11 @@ private static async Task Main(string[] args) _connectionString = $"Server={_dbHost};Port={_dbPort};Database={_dbName};" + $"User={_dbUser};Password={authToken};SSL Mode=Required;"; + Func> handler = FunctionHandler; + // Use the source generator serializer await LambdaBootstrapBuilder.Create( - FunctionHandler, + handler, new SourceGeneratorLambdaJsonSerializer() ).Build().RunAsync(); }