Skip to content

Commit

Permalink
Update repoManagement.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
dcshzj committed Sep 29, 2023
1 parent 1a2d1aa commit 70f7f83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/routes/v2/authenticatedSites/repoManagement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ export class RepoManagementRouter {
const { userWithSiteSessionData } = res.locals
const { branchName, commitSha } = req.body

return res.status(200).send()

return this.repoManagementService
.resetRepo(userWithSiteSessionData, branchName, commitSha)
.map(() => res.status(200).send())
Expand Down

0 comments on commit 70f7f83

Please sign in to comment.