Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Письменов Дмитрий Иванович
/
yourroomads
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f76d56ec
authored
Jun 02, 2021
by
Евгений
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Поправил ошибки
1 parent
1eb18451
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
app/Console/Commands/CampaignsUpdate.php
app/Service/Requests/DirectRequest.php
app/Console/Commands/CampaignsUpdate.php
View file @
f76d56e
...
...
@@ -55,7 +55,7 @@ class CampaignsUpdate extends Command
$factory
=
APIRequest
::
getInstance
(
API
::
YANDEX
);
$factory
->
setToken
(
$token
);
$factory
->
getRequest
(
'
c
ampaigns'
,
'update'
)
$factory
->
getRequest
(
'
C
ampaigns'
,
'update'
)
->
call
([
'dictionaryCampaigns'
=>
$token
->
dictionaryCampaignsEnabledForExternalNeedUpdated
,
]);
...
...
app/Service/Requests/DirectRequest.php
View file @
f76d56e
...
...
@@ -61,6 +61,7 @@ class DirectRequest extends APIRequest {
$request
->
setToken
(
$this
->
getToken
());
return
$request
;
}
throw
new
Exception
(
'Unknown Service or Method'
);
return
$this
;
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment