mirror of https://github.com/langgenius/dify.git
fix: error status code
This commit is contained in:
parent
1ea8504cf1
commit
46cc635e05
|
|
@ -382,7 +382,7 @@ export const HTTP_REQUEST_OUTPUT_STRUCT: Var[] = [
|
|||
},
|
||||
{
|
||||
variable: 'status_code',
|
||||
type: VarType.string,
|
||||
type: VarType.number,
|
||||
},
|
||||
{
|
||||
variable: 'headers',
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@ const Panel: FC<NodePanelProps<HttpNodeType>> = ({
|
|||
/>
|
||||
<VarItem
|
||||
name='status_code'
|
||||
type='string'
|
||||
type='number'
|
||||
description={t(`${i18nPrefix}.outputVars.statusCode`)}
|
||||
/>
|
||||
<VarItem
|
||||
|
|
|
|||
Loading…
Reference in New Issue