fix: fixed seq type bug in bruno lang parser

This commit is contained in:
Anoop M D 2023-01-21 19:56:39 +05:30
parent d01cada16c
commit e513694912

View File

@ -44,7 +44,7 @@ const bruToJson = (fileContents) => {
const json = { const json = {
type: parsed.type || '', type: parsed.type || '',
name: parsed.name || '', name: parsed.name || '',
seq: parsed.seq || 1, seq: parsed.seq ? Number(parsed.seq) : 1,
request: { request: {
method: parsed.method || '', method: parsed.method || '',
url: parsed.url || '', url: parsed.url || '',