|
@@ -1940,7 +1940,7 @@ You can check the Dev Tools console for debugging information.</code></pre>
|
|
|
|
|
|
<div class="javascript-example">
|
|
|
<pre><code class="language-javascript">const url = new URL(
|
|
|
- "http://127.0.0.1/api/coach/location/culpa"
|
|
|
+ "http://127.0.0.1/api/coach/location/nobis"
|
|
|
);
|
|
|
|
|
|
const headers = {
|
|
@@ -1963,7 +1963,7 @@ fetch(url, {
|
|
|
|
|
|
<div class="bash-example">
|
|
|
<pre><code class="language-bash">curl --request DELETE \
|
|
|
- "http://127.0.0.1/api/coach/location/culpa" \
|
|
|
+ "http://127.0.0.1/api/coach/location/nobis" \
|
|
|
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
|
|
|
--header "Content-Type: application/json" \
|
|
|
--data "{
|
|
@@ -2063,10 +2063,10 @@ You can check the Dev Tools console for debugging information.</code></pre>
|
|
|
|
|
|
<input type="text" style="display: none"
|
|
|
name="id" data-endpoint="DELETEapi-coach-location--id-"
|
|
|
- value="culpa"
|
|
|
+ value="nobis"
|
|
|
data-component="url">
|
|
|
<br>
|
|
|
-<p>The ID of the location. Example: <code>culpa</code></p>
|
|
|
+<p>The ID of the location. Example: <code>nobis</code></p>
|
|
|
</div>
|
|
|
<h4 class="fancy-heading-panel"><b>Body Parameters</b></h4>
|
|
|
<div style=" padding-left: 28px; clear: unset;">
|
|
@@ -5026,15 +5026,14 @@ You can check the Dev Tools console for debugging information.</code></pre>
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
document.querySelectorAll('.tocify-header .level-1 a').forEach(link => {
|
|
|
- link.addEventListener('click', function(e) {
|
|
|
- e.preventDefault();
|
|
|
- const parentLi = this.closest('li');
|
|
|
- const nextUl = parentLi.nextElementSibling;
|
|
|
- if (nextUl && nextUl.tagName === 'UL') {
|
|
|
- nextUl.classList.contains('visible') ? nextUl.classList.remove('visible') : nextUl
|
|
|
- .classList.add('visible');
|
|
|
- }
|
|
|
- });
|
|
|
+ const parentLi = link.closest('li');
|
|
|
+ const nextUl = parentLi.nextElementSibling;
|
|
|
+ if (nextUl && nextUl.tagName === 'UL') {
|
|
|
+ link.addEventListener('click', function(e) {
|
|
|
+ e.preventDefault();
|
|
|
+ nextUl.classList.toggle('visible');
|
|
|
+ });
|
|
|
+ }
|
|
|
});
|
|
|
</script>
|
|
|
|