We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d09d50d commit 758382fCopy full SHA for 758382f
lib/redis.js
@@ -88,17 +88,13 @@ module.exports = CoreObject.extend({
88
if (revisions.length === 0) {
89
return;
90
}
91
- let dataKeys = revisions.map(function(revision) {
92
- return `${keyPrefix}:revision-data:${revision}`;
93
- });
+ let dataKeys = revisions.map((rev) => `${keyPrefix}:revision-data:${rev}`);
94
95
let data = this._client.mget(dataKeys);
96
if (!data) {
97
98
99
- return data.map(function(d) {
100
- return JSON.parse(d);
101
+ return data.map((d) => JSON.parse(d));
102
},
103
104
_listRevisions(keyPrefix) {
0 commit comments