Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 096d169

Browse files
Adding version for easier parsing
1 parent c69cf53 commit 096d169

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/GitHub.Api/Metrics/UsageModel.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ public class Usage
88
{
99
public string Guid { get; set; }
1010
public DateTime Date { get; set; }
11+
public int Version { get; set; }
1112
public string AppVersion { get; set; }
1213
public string UnityVersion { get; set; }
1314
public string Lang { get; set; }
@@ -55,6 +56,7 @@ public Usage GetCurrentUsage(string appVersion, string unityVersion)
5556
else
5657
{
5758
currentUsage = new Usage {
59+
Version = 2,
5860
Date = date,
5961
Guid = Guid,
6062
AppVersion = appVersion,

0 commit comments

Comments
 (0)