Skip to content

Commit 80b20a1

Browse files
committed
- restore get_trending_categories method deleted in pull 14
1 parent 9292543 commit 80b20a1

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Commands/Commands.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,13 @@ class Commands implements CommandInterface
176176
'1' => ['bool'], //onlyVirtual
177177
]
178178
],
179+
'get_trending_categories' => [
180+
'apiName' => 'database_api',
181+
'fields' => [
182+
'0' => ['nullOrString'], //after
183+
'1' => ['integer'], //permlink
184+
]
185+
],
179186
'get_trending_tags' => [
180187
'apiName' => 'database_api',
181188
'fields' => [
@@ -388,6 +395,13 @@ class Commands implements CommandInterface
388395
'1' => ['bool'], //onlyVirtual
389396
]
390397
],
398+
'get_trending_categories' => [
399+
'apiName' => 'social_network',
400+
'fields' => [
401+
'0' => ['nullOrString'], //after
402+
'1' => ['integer'], //permlink
403+
]
404+
],
391405
'get_trending_tags' => [
392406
'apiName' => 'tags',
393407
'fields' => [

0 commit comments

Comments
 (0)