Skip to content

Commit 7a3a718

Browse files
authored
Addons API: return FTD enabled/disabled based on addons config (#11963)
1 parent caa9fa2 commit 7a3a718

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/proxito/views/hosting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ def _v1(self, project, version, build, filename, url, request):
540540
},
541541
},
542542
"filetreediff": {
543-
"enabled": False,
543+
"enabled": project.addons.filetreediff_enabled,
544544
},
545545
},
546546
}

0 commit comments

Comments
 (0)