|
@@ -42,8 +42,8 @@ type pokemonParseRequest struct {
|
|
|
Pokemon []string `json:"pokemon" form:"pokemon"`
|
|
Pokemon []string `json:"pokemon" form:"pokemon"`
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-// parse grabs multipart file uploads under the key `pkmn`, aggregates them, and
|
|
|
|
|
-// delegates work to the parser.
|
|
|
|
|
|
|
+// parse grabs multipart file uploads under the key `pokemon`, aggregates them,
|
|
|
|
|
+// and delegates work to the parser.
|
|
|
func (s *Server) parse(c *gin.Context) {
|
|
func (s *Server) parse(c *gin.Context) {
|
|
|
var rawPokemon []p.RawPokemon
|
|
var rawPokemon []p.RawPokemon
|
|
|
|
|
|