renamed printInstruction

This commit is contained in:
2022-02-17 18:29:32 +01:00
parent 486459a107
commit 2e9909129b
2 changed files with 8 additions and 6 deletions

View File

@@ -41,8 +41,8 @@ public class PrinterController : Controller
switch (instruction.GetProperty("type").GetString())
{
case "print":
parsedInstruction = instruction.Deserialize<PrintInstruction>();
case "text":
parsedInstruction = instruction.Deserialize<TextInstruction>();
break;
case "barcode":
parsedInstruction = instruction.Deserialize<BarcodeInstruction>();