mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-04-27 05:15:47 +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 {
|
func GetWrappedPayload(ctx context.Context, payload any) WrappedPayload {
|
||||||
templateData := WrappedPayload{Payload: payload}
|
templateData := WrappedPayload{
|
||||||
|
Payload: payload,
|
||||||
|
End: false,
|
||||||
|
}
|
||||||
modules := ctx.Value(ModulesContextKey)
|
modules := ctx.Value(ModulesContextKey)
|
||||||
if modules != nil {
|
if modules != nil {
|
||||||
templateData.Modules = modules
|
templateData.Modules = modules
|
||||||
|
|||||||
Reference in New Issue
Block a user