diff --git a/src/Robware.Data/ApiKeys/State/ApiKeyState.cs b/src/Robware.Data/ApiKeys/State/ApiKeyState.cs index 8854480..de23773 100644 --- a/src/Robware.Data/ApiKeys/State/ApiKeyState.cs +++ b/src/Robware.Data/ApiKeys/State/ApiKeyState.cs @@ -12,10 +12,9 @@ namespace Robware.Data.ApiKeys.State { } [BsonId] - public int Id { get; set; } + public string Key { get; set; } public string Name { get; set; } public DateTime IssueTimestamp { get; set; } - public string Key { get; set; } public bool Enabled { get; set; } } } \ No newline at end of file