renamed printInstruction
This commit is contained in:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user