Skip to content

Commit 41188df

Browse files
levidyrekCarlton Gibson
authored andcommitted
Interactive documentation always uses false for boolean fields in requests (#5492)
1 parent f585eee commit 41188df

File tree

1 file changed

+1
-1
lines changed
  • rest_framework/static/rest_framework/docs/js

1 file changed

+1
-1
lines changed

rest_framework/static/rest_framework/docs/js/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ $(function () {
129129
'false': false
130130
}[paramValue.toLowerCase()]
131131
if (value !== undefined) {
132-
params[paramKey]
132+
params[paramKey] = value
133133
}
134134
} else if (dataType === 'array' && paramValue) {
135135
try {

0 commit comments

Comments
 (0)