From a7cf45e4669eb98aea384193ff9a66ff3fded809 Mon Sep 17 00:00:00 2001 From: Joel Wetzell Date: Wed, 26 Jun 2024 22:44:46 -0500 Subject: [PATCH] fix reset function --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index e192d80..23be27e 100644 --- a/index.js +++ b/index.js @@ -79,7 +79,7 @@ class Encoder { } reset() { - this.pickupTable = this.config.default_table; + this.table = this.config.default_table; } } @@ -96,7 +96,7 @@ class Decoder { } reset() { - this.pickupTable = this.config.default_table; + this.table = this.config.default_table; } }