File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Umbraco.Cms.Integrations.Search.Algolia/Api/Management/Controllers Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -49,13 +49,13 @@ public GetContentTypesController(
49
49
50
50
[ HttpGet ( "content-type" ) ]
51
51
[ ProducesResponseType ( typeof ( List < ContentTypeDto > ) , StatusCodes . Status200OK ) ]
52
- public IActionResult GetContentTypes ( ) => Ok ( GetContentTypes ( ) ) ;
53
-
52
+ public IActionResult Get ( ) => Ok ( GetContentTypes ( ) ) ;
53
+
54
54
[ HttpGet ( "content-type/index/{id:int}" ) ]
55
55
[ ProducesResponseType ( typeof ( List < ContentTypeDto > ) , StatusCodes . Status200OK ) ]
56
- public IActionResult GetContentTypesByIndexId ( int id ) => Ok ( GetContentTypes ( id ) ) ;
56
+ public IActionResult GetByIndexId ( int id ) => Ok ( GetContentTypes ( id ) ) ;
57
57
58
- private List < ContentTypeDto > GetContentTypes ( int ? id )
58
+ private List < ContentTypeDto > GetContentTypes ( int ? id = null )
59
59
{
60
60
IndexConfiguration indexConfiguration = new IndexConfiguration ( ) ;
61
61
var list = new List < ContentTypeDto > ( ) ;
You can’t perform that action at this time.
0 commit comments