|
|
@@ -340,7 +340,7 @@ class ArticleController extends Controller
|
|
|
|
|
|
$canRead = ArticleController::userCanRead($user_uid,$article);
|
|
|
if(!$canRead){
|
|
|
- return $this->error(__('auth.failed'),[],403);
|
|
|
+ return $this->error(__('auth.failed'),403,403);
|
|
|
}
|
|
|
return $this->ok(new ArticleResource($article));
|
|
|
}
|