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 a4c96ef commit 7897f26Copy full SHA for 7897f26
packages/miniflare/src/workers/kv/namespace.worker.ts
@@ -104,10 +104,13 @@ async function processKeyValue(
104
);
105
}
106
if (val && withMetadata) {
107
- return [{
108
- value: val,
109
- metadata: obj?.metadata ?? null,
110
- }, size];
+ return [
+ {
+ value: val,
+ metadata: obj?.metadata ?? null,
111
+ },
112
+ size,
113
+ ];
114
115
return [val, size];
116
@@ -152,7 +155,6 @@ export class KVNamespaceObject extends MiniflareDurableObject {
152
155
153
156
totalBytes += size;
154
157
obj[key] = value;
-
158
159
const maxValueSize = this.beingTested
160
? KVLimits.MAX_VALUE_SIZE_TEST
0 commit comments