Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
qianxi committed Nov 6, 2024
1 parent b7f4a3c commit c0e263e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ main
/coverage*
/test.*
/config.yml
*.eduoj-backend

/testing_requests
/EduOJBackend
Expand Down
2 changes: 1 addition & 1 deletion app/controller/problem_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func CreateProblemSet(c echo.Context) error {
req := request.CreateProblemSetRequest{}
err, ok := utils.BindAndValidate(&req, c)
if !ok {
return err //aaa
return err
}
class := models.Class{}
if err := base.DB.First(&class, c.Param("id")).Error; err != nil {
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func main() {
parse()
if len(args) < 1 {
log.Fatal("Please specific a command to run.")
// TODO: output usage aa
// TODO: output usage
os.Exit(-1)
}
switch args[0] {
Expand Down

0 comments on commit c0e263e

Please sign in to comment.