multiple updates should use a different path

This commit is contained in:
Andrea Cavalli 2021-12-19 02:39:28 +01:00
parent 4da9123b07
commit 0010c00a0b

View File

@ -59,7 +59,7 @@ public class RestApi {
}
@POST
@Path("/{botPath}")
@Path("/{botPath}/multi")
@Consumes(MediaType.APPLICATION_JSON)
@Produces(MediaType.APPLICATION_JSON)
public Response updatesReceived(@PathParam("botPath") String botPath, List<Update> updates) {