(ctx context.Context, templateID uuid.UUID)
| 2024 | } |
| 2025 | |
| 2026 | func (api *API) publishTemplateUpdate(ctx context.Context, templateID uuid.UUID) { |
| 2027 | err := api.Pubsub.Publish(watchTemplateChannel(templateID), []byte{}) |
| 2028 | if err != nil { |
| 2029 | api.Logger.Warn(ctx, "failed to publish template update", |
| 2030 | slog.F("template_id", templateID), slog.Error(err)) |
| 2031 | } |
| 2032 | } |
no test coverage detected