Update social service
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
918b444cb9
commit
59e611286d
|
|
@ -131,7 +131,7 @@ class Plugin extends PluginBase
|
||||||
}
|
}
|
||||||
|
|
||||||
public function registerSchedule($schedule) {
|
public function registerSchedule($schedule) {
|
||||||
$schedule->command('social:sync')->hourly();
|
$schedule->command('social:sync')->everyFiveMinutes();
|
||||||
$schedule->command('social:refresh')->monthly();
|
$schedule->command('social:refresh')->monthly();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ namespace Zoomyboy\Social\Classes;
|
||||||
use Event;
|
use Event;
|
||||||
use Generator;
|
use Generator;
|
||||||
use Illuminate\Support\Collection;
|
use Illuminate\Support\Collection;
|
||||||
use MediaLibrary;
|
use System\Classes\MediaLibrary;
|
||||||
use Zoomyboy\Social\Exceptions\SocialException;
|
use Zoomyboy\Social\Exceptions\SocialException;
|
||||||
use Zoomyboy\Social\Models\Page;
|
use Zoomyboy\Social\Models\Page;
|
||||||
use Zoomyboy\Social\Models\Setting;
|
use Zoomyboy\Social\Models\Setting;
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "zoomyboy/social",
|
"name": "zoomyboy/social",
|
||||||
"require": {
|
"require": {
|
||||||
"guzzlehttp/guzzle": "^7.3"
|
|
||||||
},
|
},
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
|
|
@ -11,7 +10,7 @@
|
||||||
],
|
],
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"Aweos\\Social\\Exceptions\\": "./exceptions"
|
"Zoomyboy\\Social\\Exceptions\\": "./exceptions"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue