Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
LordRalex committed May 11, 2023
2 parents eabc289 + 619cde4 commit 2b5de5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion add.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ func (consumer *AddProjectConsumer) Consume(url string, ctx context.Context) *ui
curseId = cast.ToUint(matches[1])
return &curseId
} else {
//for now, we can't resolve, so mark as 404
id, err := resolveSlug(url, ctx)
if err != nil {
panic(err)
Expand Down
4 changes: 2 additions & 2 deletions web.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@ func handleResolveProject(c *gin.Context, path string) {
if project == nil || project.CurseId == 0 {
c.AbortWithStatus(http.StatusNotFound)
return
}

}
switch project.Status {
case 404:
{
Expand Down

0 comments on commit 2b5de5e

Please sign in to comment.