mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
feat: added analytics.peek
This commit is contained in:
@@ -90,6 +90,8 @@ Analytics.increment = function (keys, callback) {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Analytics.peek = () => local;
|
||||||
|
|
||||||
Analytics.getKeys = async () => db.getSortedSetRange('analyticsKeys', 0, -1);
|
Analytics.getKeys = async () => db.getSortedSetRange('analyticsKeys', 0, -1);
|
||||||
|
|
||||||
Analytics.pageView = async function (payload) {
|
Analytics.pageView = async function (payload) {
|
||||||
|
|||||||
Reference in New Issue
Block a user