Skip to content

Commit

Permalink
Remove Pathfinder proxy endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
mansam committed Sep 19, 2023
1 parent fa81e24 commit 75172b5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 142 deletions.
12 changes: 0 additions & 12 deletions api/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,12 +303,6 @@ func (h ApplicationHandler) Delete(ctx *gin.Context) {
_ = ctx.Error(result.Error)
return
}
p := Pathfinder{}
err := p.DeleteAssessment([]uint{id}, ctx)
if err != nil {
_ = ctx.Error(err)
return
}
result = h.DB(ctx).Delete(m)
if result.Error != nil {
_ = ctx.Error(result.Error)
Expand All @@ -332,12 +326,6 @@ func (h ApplicationHandler) DeleteList(ctx *gin.Context) {
_ = ctx.Error(err)
return
}
p := Pathfinder{}
err = p.DeleteAssessment(ids, ctx)
if err != nil {
_ = ctx.Error(err)
return
}
err = h.DB(ctx).Delete(
&model.Application{},
"id IN ?",
Expand Down
129 changes: 0 additions & 129 deletions api/pathfinder.go

This file was deleted.

1 change: 0 additions & 1 deletion api/pkg.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ func All() []Handler {
&TagCategoryHandler{},
&TaskHandler{},
&TaskGroupHandler{},
&PathfinderHandler{},
&TicketHandler{},
&TrackerHandler{},
&BucketHandler{},
Expand Down

0 comments on commit 75172b5

Please sign in to comment.