Skip to content

Commit 21caa5b

Browse files
Update src/proxy/processors/push-action/parsePush.ts
Co-authored-by: Thomas Cooper <[email protected]>
1 parent 71b8f80 commit 21caa5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/proxy/processors/push-action/parsePush.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ const getPackMeta = (buffer: Buffer): [PackMeta, Buffer] => {
282282
entries: entries,
283283
};
284284

285-
return [meta, buffer.slice(PACKET_SIZE * 3)];
285+
return [meta, buffer.subarray(PACKET_SIZE * 3)];
286286
};
287287

288288
/**

0 commit comments

Comments
 (0)