Change parameter in the promise for battle post