-
Notifications
You must be signed in to change notification settings - Fork 15
CUR-4163-add background job for publishing #1325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CUR-4163-add background job for publishing #1325
Conversation
* "message": "The given data was invalid.", | ||
* "errors": { | ||
* "aSyncUrl": [ | ||
* "The a sync url field is required." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to removed "aSyncUrl" errors.
*/ | ||
public function createMSTeamAssignment($token, $classId, $activity); | ||
public function createMSTeamAssignment($token, $classId, $project, $aSyncUrl); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove extra space.
@@ -36,10 +36,11 @@ public function getClassesList($token); | |||
*/ | |||
public function createMsTeamClass($token, $data); | |||
|
|||
/** | |||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove extra space.
*/ | ||
private function getUserDetails($token) | ||
{ | ||
$apiURL = $this->landingUrl . '/me'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indentation/formatting issue.
{ | ||
\Log::info('in createMSTeamAssignment'); | ||
if(!empty($aSyncUrl)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code optimization required.
private function checkClassAsyncStatus($aSyncUrl, $token) | ||
{ | ||
\Log::info('in checkClassAsyncStatus'); | ||
if($aSyncUrl !== Null) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add space after "if" and before "else" in "} else"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR approved, please check.
Feature/cur 4163 add abackground job publishing projectms team