We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 482be82 + f179efc commit 468a7b0Copy full SHA for 468a7b0
2 files changed
api.go
@@ -17,6 +17,7 @@ var FetchEndpoints = map[string]string{
17
}
18
19
type submitResponse struct {
20
+ Id string
21
Status string
22
Language string
23
Exercise string
main.go
@@ -185,8 +185,8 @@ func main() {
185
return
186
187
188
- fmt.Printf("For feedback on your submission visit %s%s.\n",
189
- config.Hostname, response.SubmissionPath)
+ fmt.Printf("For feedback on your submission visit %s%s%s.\n",
+ config.Hostname, "/submissions/", response.Id)
190
191
},
192
0 commit comments