Skip to content

Commit

Permalink
Merge pull request #23 from asundust/analysis-nNOMQ1
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
asundust committed Mar 30, 2022
2 parents 53b15b6 + 1c4d258 commit 7f1e69c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/Http/Middleware/WechatAuthMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function handle($request, Closure $next, $account = 'default', $scope = n
return $next($request);
}

//保证兼容性
// 保证兼容性
$class = ('work' !== $type) ? 'wechat' : 'work';
$prefix = ('work' !== $type) ? 'official_account' : 'work';
$sessionKey = \sprintf('%s.oauth_user.%s', $class, $account);
Expand Down
4 changes: 2 additions & 2 deletions config/querydetector.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
* the "posts" attribute and the "Post::class", since the relation can get resolved in multiple ways.
*/
'except' => [
//Author::class => [
// Author::class => [
// Post::class,
// 'posts',
//]
// ]
],

/*
Expand Down

0 comments on commit 7f1e69c

Please sign in to comment.