Skip to content

Commit 645386a

Browse files
committed
Fix updates endpoint
1 parent 492aee3 commit 645386a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OculusDB/FrontendServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ public void StartServer(HttpServer httpServer)
772772
if (!DoesUserHaveAccess(request)) return true;
773773
WebClient c = new WebClient();
774774
c.Headers.Add("User-Agent", "OculusDB/1.0");
775-
List<GithubCommit> commits = JsonSerializer.Deserialize<List<GithubCommit>>(c.DownloadString("https://api.github.com/repos/ComputerElite/OculusDB/commits?per_page=100"));
775+
List<GithubCommit> commits = JsonSerializer.Deserialize<List<GithubCommit>>(c.DownloadString("https://api.github.com/repos/ComputerElite/OculusDB/commits?per_page=100&sha=OculusDB-current"));
776776
List<Update> updates = new List<Update>();
777777
foreach(GithubCommit co in commits)
778778
{

0 commit comments

Comments
 (0)