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

Commit d7dfd20

Browse files
committed
Make really sure the guid is saved
1 parent c72e618 commit d7dfd20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GitHub.Api/Metrics/UsageTracker.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ private UsageStore LoadUsage()
5959
}
6060

6161
if (result == null)
62-
{
6362
result = new UsageStore();
63+
64+
if (String.IsNullOrEmpty(result.Model.Guid))
6465
result.Model.Guid = guid;
65-
}
6666

6767
return result;
6868
}

0 commit comments

Comments
 (0)