Skip to content

Commit

Permalink
feat: add manager github commit checker back (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aunali321 authored Jun 28, 2022
1 parent a2ae7d3 commit 812ae26
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,11 @@ class DashboardViewModel : ViewModel() {
} catch (e: Exception) {
Log.e(tag, "failed to fetch latest patcher commit", e)
}
// TODO: add back when this is public
// try {
// _latestManagerCommit = GitHubAPI.Commits.latestCommit(Global.ghManager, "HEAD")
// } catch (e: Exception) {
// Log.e(tag, "failed to fetch latest manager commit", e)
// }
try {
_latestManagerCommit = GitHubAPI.Commits.latestCommit(Global.ghManager, "HEAD")
} catch (e: Exception) {
Log.e(tag, "failed to fetch latest manager commit", e)
}
}
}

Expand Down

0 comments on commit 812ae26

Please sign in to comment.