diff options
Diffstat (limited to 'src/api/schema.js')
-rw-r--r-- | src/api/schema.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/api/schema.js b/src/api/schema.js index 71fde7436..9fdd5e73d 100644 --- a/src/api/schema.js +++ b/src/api/schema.js @@ -1393,7 +1393,7 @@ function decodeWebsocketMessageBuildSuccess(bb) { result["loader"] = Loader[bb.readByte()]; result["module_path"] = bb.readAlphanumeric(); result["log"] = decodeLog(bb); - result["bytes"] = bb.readByteArray(); + result["blob_length"] = bb.readUint32(); return result; } @@ -1436,11 +1436,11 @@ bb.writeByte(encoded); throw new Error("Missing required field \"log\""); } - var value = message["bytes"]; + var value = message["blob_length"]; if (value != null) { - bb.writeByteArray(value); + bb.writeUint32(value); } else { - throw new Error("Missing required field \"bytes\""); + throw new Error("Missing required field \"blob_length\""); } } |