1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-18 02:31:29 +00:00

rpc/getAllCounters: return seq

This commit is contained in:
Andrew Dolgov
2018-12-15 13:17:34 +03:00
parent 8c49689fda
commit b66deb3240

View File

@@ -274,7 +274,8 @@ class RPC extends Handler_Protected {
@$seq = (int) $_REQUEST['seq']; @$seq = (int) $_REQUEST['seq'];
$reply = [ $reply = [
'counters' => Counters::getAllCounters() 'counters' => Counters::getAllCounters(),
'seq' => $seq
]; ];
if ($seq % 2 == 0) if ($seq % 2 == 0)