Skip to content

Commit

Permalink
fix: timer sample was failing on running worker (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
GSmithApps authored Jan 27, 2025
1 parent cf0c976 commit db6ce07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Timer/MyActivities.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
namespace TemporalioSamples.Timer;

using System.Diagnostics.CodeAnalysis;
using Temporalio.Activities;

[SuppressMessage("Design", "CA1052:Type 'MyActivities' is a static holder type but is neither static nor NotInheritable", Justification = "Class is designed for instantiation.")]
public class MyActivities
{
[Activity]
Expand Down
1 change: 1 addition & 0 deletions src/Timer/Subscription.workflow.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
namespace TemporalioSamples.Timer;

using Microsoft.Extensions.Logging;
using Temporalio.Exceptions;
using Temporalio.Workflows;

[Workflow]
Expand Down

0 comments on commit db6ce07

Please sign in to comment.