Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
outerwinnie committed Sep 5, 2024
1 parent 3d3f2f0 commit 82dfd4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ private static async Task MonitorCsvFileAsync()
foreach (var record in records)
{
// Check if reward is "recuerdate" and quantity is greater than 0
if (record.reward == "recuerdate" && record.quantity > 0)
if (record.rewardname == "recuerdate" && record.quantity > 0)
{
Console.WriteLine($"Running PostRandomImageUrl {record.quantity} times...");

Expand Down Expand Up @@ -148,7 +148,7 @@ private static async Task PostRandomImageUrl()

public class RewardRecord
{
public string reward { get; set; }
public string rewardname { get; set; }
public int quantity { get; set; }
}
}
Expand Down

0 comments on commit 82dfd4a

Please sign in to comment.