Skip to content

Commit

Permalink
FIx User token parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Tecssil Lopez committed Apr 14, 2023
1 parent 2082153 commit 95cac1d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions DuoApi/DuoApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<FileVersion></FileVersion>
<AssemblyVersion></AssemblyVersion>
<Version>0.0.2.2</Version>
<Version>0.0.2.3</Version>
<Description>A client for DUO Admin API</Description>
<PackageReleaseNotes>
<![CDATA[0.0.2.2
<![CDATA[0.0.2.3
Fix token from User class as object
0.0.2.2
Upgrade to .net 6.0
0.0.2.1
Expand Down
2 changes: 1 addition & 1 deletion DuoApi/Models/User.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public DateTime? LastLogin
/// <summary>
/// A list of tokens that this user can use.See Retrieve Hardware Tokens for descriptions of the response values.
/// </summary>
public string[]? Tokens { get; set; }
public object[]? Tokens { get; set; }

/// <summary>
/// A list of U2F tokens that this user can use.See Retrieve U2F Tokens for descriptions of the response values.
Expand Down

0 comments on commit 95cac1d

Please sign in to comment.