Skip to content

Commit

Permalink
Tweaked event log item properties (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
mroloux authored Feb 12, 2024
1 parent 546b58b commit 85c3cf2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions SeatsioDotNet.Test/EventLog/ListEventLogItemsTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ public void Properties()

Assert.True(eventLogItem.Id > 0);
Assert.Equal("chart.created", eventLogItem.Type);
Assert.Equal(Workspace.Key, eventLogItem.WorkspaceKey);
Assert.Equal(new Dictionary<string, object> {{"key", chart.Key}}, eventLogItem.Data);
Assert.Equal(new Dictionary<string, object> {{"key", chart.Key}, {"workspaceKey", Workspace.Key}}, eventLogItem.Data);
}
}
3 changes: 1 addition & 2 deletions SeatsioDotNet/EventLog/EventLogItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ public class EventLogItem
{
public long Id { get; set; }
public string Type { get; set; }
public string WorkspaceKey { get; set; }
public DateTimeOffset Date { get; set; }
public DateTimeOffset Timestamp { get; set; }
public Dictionary<string, object> Data { get; set; }
}

0 comments on commit 85c3cf2

Please sign in to comment.