mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-04-26 21:05:30 +00:00
explicitly set WrappedPayload.End to false
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user