Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
🩹 [Patch]: Update token expiration date properties in InstallationGit…
…HubContext and UserGitHubContext to be nullable
  • Loading branch information
MariusStorhaug committed Jul 1, 2025
commit e3746c22ec2056c50b22ef3361df7603f9e3d41f
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

# The token expiration date.
# 2024-01-01-00:00:00
[datetime] $TokenExpirationDate
[System.Nullable[datetime]] $TokenExpirationDate

# The installation ID.
[uint64] $InstallationID
[System.Nullable[uint64]] $InstallationID

# The permissions that the app is requesting on the target
[pscustomobject] $Permissions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@

# The token expiration date.
# 2024-01-01-00:00:00
[datetime] $TokenExpirationDate
[System.Nullable[datetime]] $TokenExpirationDate

# The refresh token.
[securestring] $RefreshToken

# The refresh token expiration date.
# 2024-01-01-00:00:00
[datetime] $RefreshTokenExpirationDate
[System.Nullable[datetime]] $RefreshTokenExpirationDate

UserGitHubContext() {}

Expand Down