Skip to content

Commit

Permalink
Is this what I need to do?
Browse files Browse the repository at this point in the history
  • Loading branch information
RobKraft committed Dec 9, 2024
1 parent 9e594c2 commit d7e03af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Lambdas/GetCharityTypes/Function.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<ILambdaContext, Task<string>> handler = FunctionHandler;

// Use the source generator serializer
await LambdaBootstrapBuilder.Create(
FunctionHandler,
handler,
new SourceGeneratorLambdaJsonSerializer<CustomSerializer>()
).Build().RunAsync();
}
Expand Down

0 comments on commit d7e03af

Please sign in to comment.