explicitly set WrappedPayload.End to false

This commit is contained in:
Joel Wetzell
2026-03-16 18:54:44 -05:00
parent b57faaccb9
commit 36c0e9b23e

View File

@@ -12,7 +12,10 @@ type WrappedPayload struct {
}
func GetWrappedPayload(ctx context.Context, payload any) WrappedPayload {
templateData := WrappedPayload{Payload: payload}
templateData := WrappedPayload{
Payload: payload,
End: false,
}
modules := ctx.Value(ModulesContextKey)
if modules != nil {
templateData.Modules = modules