]> BookStack Code Mirror - bookstack/blobdiff - resources/views/api-docs/parts/endpoint.blade.php
Fixed comment count update error
[bookstack] / resources / views / api-docs / parts / endpoint.blade.php
index c1bce805b1e8f841e0595c33a4c876a7d41b5d5a..6e3d93659d2e76af07a2a2cc868e8663f4958b74 100644 (file)
@@ -13,7 +13,7 @@
 
 @if($endpoint['body_params'] ?? false)
     <details class="mb-m">
-        <summary class="text-muted">Body Parameters</summary>
+        <summary class="text-muted">{{ $endpoint['method'] === 'GET' ? 'Query' : 'Body'  }} Parameters</summary>
         <table class="table">
             <tr>
                 <th>Param Name</th>