mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 09:36:49 +03:00
Interactive documentation always uses false for boolean fields in requests (#5492)
This commit is contained in:
parent
f585eee125
commit
41188dfba0
|
@ -129,7 +129,7 @@ $(function () {
|
|||
'false': false
|
||||
}[paramValue.toLowerCase()]
|
||||
if (value !== undefined) {
|
||||
params[paramKey]
|
||||
params[paramKey] = value
|
||||
}
|
||||
} else if (dataType === 'array' && paramValue) {
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue
Block a user