erpnet / ErpNet.FP

ErpNet.FP is a light-weight cross-platform Http server facilitating printing to fiscal printers through simple JSON Api.
BSD Zero Clause License
106 stars 61 forks source link

fix protocol for 'Get Current Cash Amount' - not it is POST, not GET #147

Closed drJeckyll closed 4 years ago

g-vvv commented 4 years ago

Thank you for your interest in contributing. May be you use an old version of ErpNet.FP. As you see in the source code, the documentation is correct. So I will NOT merge this pull request.

// Get {id}/cash
        [HttpGet("{id}/cash")]
        public async Task<IActionResult> Cash(
            string id,
            [FromQuery] string? taskId,
            [FromQuery] int asyncTimeout = PrintJob.DefaultTimeout)