Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

Commit

Permalink
Merge pull request #322 from appwrite/fix-graphql-url
Browse files Browse the repository at this point in the history
Fix GraphQL Endpoint
  • Loading branch information
christyjacob4 authored Jan 16, 2023
2 parents 365c1f9 + d90de14 commit ede32a4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/views/docs/service.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,11 @@ if (!\function_exists('skipLanguage')) {

<div>
<div class="route margin-bottom">
<span class="method <?php echo $this->escape($method); ?>"><?php echo strtoupper($this->escape($method)); ?></span><span class="endpoint"><?php //echo $this->escape($endpoint); ?></span><span class="path">/v1<?php echo $this->escape($url); ?></span>
<?php if($sdk === "graphql-default"): ?>
<span class="method post">POST</span><span class="endpoint"></span><span class="path">/v1/graphql</span>
<?php else: ?>
<span class="method <?php echo $this->escape($method); ?>"><?php echo strtoupper($this->escape($method)); ?></span><span class="endpoint"></span><span class="path">/v1<?php echo $this->escape($url); ?></span>
<?php endif; ?>
</div>

<?php if(!empty($description)): ?>
Expand Down

0 comments on commit ede32a4

Please sign in to comment.