Quitada '/' al final de la ruta

This commit is contained in:
Alejandro Tasistro 2025-07-20 11:18:31 -03:00
parent d5e70dc291
commit 9c07a91914

View file

@ -85,7 +85,7 @@ export default {
...mapActions('pedido', ["getGrupoDeCompra", "crearPedido", "elegirPedido"]), ...mapActions('pedido', ["getGrupoDeCompra", "crearPedido", "elegirPedido"]),
...mapMutations("ui", ["toggleTags"]), ...mapMutations("ui", ["toggleTags"]),
async getPedidos(nombre) { async getPedidos(nombre) {
const response = await axios.get('/api/subpedidos/',{ const response = await axios.get('/api/subpedidos',{
params: { params: {
nombre: nombre, nombre: nombre,
grupo_de_compra: this.grupo_de_compra.id, grupo_de_compra: this.grupo_de_compra.id,