Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions api.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ var FetchEndpoints = map[string]string{
}

type submitResponse struct {
Id string
Status string
Language string
Exercise string
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ func main() {
return
}

fmt.Printf("For feedback on your submission visit %s%s.\n",
config.Hostname, response.SubmissionPath)
fmt.Printf("For feedback on your submission visit %s%s%s.\n",
config.Hostname, "/submissions/", response.Id)

},
},
Expand Down