Skip to content

Commit

Permalink
Sigh. DEFAULTS??? WHY BREAK BACKWARDS COMP WP WHY
Browse files Browse the repository at this point in the history
  • Loading branch information
k1sul1 authored Dec 10, 2020
1 parent 4767b0a commit d649a73
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/php/api/resolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public function __construct(\k1\Resolver &$resolver) {
[
'methods' => 'GET',
'callback' => [$this, 'resolveURL']
'permission_callback' => '__return_true',
],
// [
// 'expires' => \HOUR_IN_SECONDS
Expand Down Expand Up @@ -45,7 +46,8 @@ public function __construct(\k1\Resolver &$resolver) {
'/index/continue',
[
'methods' => 'POST',
'callback' => [$this, 'continueIndexBuild']
'callback' => [$this, 'continueIndexBuild'],
'permission_callback' => '__return_true',
]
);
}
Expand Down

0 comments on commit d649a73

Please sign in to comment.