Skip to content

Commit 668d21c

Browse files
T3RAN13T3RAN13
authored andcommitted
Commands fix
1 parent ffa6474 commit 668d21c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Commands/DataBase/GetContentCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class GetContentCommand extends CommandAbstract
1010
protected $method = 'get_content';
1111

1212
/** @var array */
13-
protected $requiredParams = [
13+
protected $queryDataMap = [
1414
'0' => ['string'], //author
1515
'1' => ['string'], //permlink
1616
];

Commands/DataBase/GetDiscussionsByAuthorBeforeDateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class GetDiscussionsByAuthorBeforeDateCommand extends CommandAbstract
88
{
99
protected $method = 'get_discussions_by_author_before_date';
10-
protected $requiredParams = [
10+
protected $queryDataMap = [
1111
'0' => ['string'], //'author',
1212
'1' => ['string'], //'start_permlink' for pagination,
1313
'2' => ['string'], //'before_date'

Commands/DataBase/GetDiscussionsByBlogCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
class GetDiscussionsByBlogCommand extends CommandAbstract
1010
{
1111
protected $method = 'get_discussions_by_blog';
12-
protected $requiredParams = [
12+
protected $queryDataMap = [
1313
ConnectorInterface::PLATFORM_GOLOS => [
1414
'*:limit' => ['integer'], //the discussions return amount top limit
1515
'*:select_tags:*' => ['nullOrString'], //list of tags to include, posts without these tags are filtered

Commands/DataBase/GetTrendingCategoriesCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class GetTrendingCategoriesCommand extends CommandAbstract
88
{
99
protected $method = 'get_trending_categories';
10-
protected $requiredParams = [
10+
protected $queryDataMap = [
1111
'0' => ['nullOrString'], //after
1212
'1' => ['integer'], //permlink
1313
];

0 commit comments

Comments
 (0)