fix: error status code

This commit is contained in:
Joel 2024-03-29 12:35:04 +08:00
parent 1ea8504cf1
commit 46cc635e05
2 changed files with 2 additions and 2 deletions

View File

@ -382,7 +382,7 @@ export const HTTP_REQUEST_OUTPUT_STRUCT: Var[] = [
},
{
variable: 'status_code',
type: VarType.string,
type: VarType.number,
},
{
variable: 'headers',

View File

@ -154,7 +154,7 @@ const Panel: FC<NodePanelProps<HttpNodeType>> = ({
/>
<VarItem
name='status_code'
type='string'
type='number'
description={t(`${i18nPrefix}.outputVars.statusCode`)}
/>
<VarItem