Skip to content

Commit

Permalink
Merge branch 'release/v1.3.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Schendel committed Jul 4, 2023
2 parents b33cc33 + 4217208 commit 8568f15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion AppApi.module.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public static function getModuleInfo() {
return [
'title' => 'AppApi',
'summary' => 'Module to create a REST API with ProcessWire',
'version' => '1.3.0',
'version' => '1.3.1',
'author' => 'Sebastian Schendel',
'icon' => 'terminal',
'href' => 'https://modules.processwire.com/modules/app-api/',
Expand Down
3 changes: 1 addition & 2 deletions views/execute-endpoints.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,8 @@
}

if ($action === 'action-get-openapi') {
echo '<pre>';
header('Content-Type: application/json; charset=utf-8');
echo json_encode($openApiOutput, JSON_PRETTY_PRINT + JSON_UNESCAPED_SLASHES + JSON_UNESCAPED_UNICODE + JSON_UNESCAPED_LINE_TERMINATORS);
echo '</pre>';
die();
}

Expand Down

0 comments on commit 8568f15

Please sign in to comment.