]> git.proxmox.com Git - pmg-api.git/commit
api: statistics: refactor detail calls
authorStoiko Ivanov <s.ivanov@proxmox.com>
Thu, 21 Jan 2021 15:51:04 +0000 (16:51 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 27 Jan 2021 08:28:42 +0000 (09:28 +0100)
commitd865dfba11fe7a8a3a3f3ebb6ad7f08c1479c956
tree0a39098d8f0a430faa00685302d3e96dff9d92cf
parent5522af5f70462dd9984b9ccb0d351f8dab5b16fa
api: statistics: refactor detail calls

the API calls returning the detailed statistics for a particular
email use much common code.
This patch introduces a sub to be used in all detail api calls.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
src/PMG/API2/Statistics.pm