Skip to content

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

Conversation

shaheen7890
Copy link
Contributor

Feature/cur 4163 add abackground job publishing projectms team

* "message": "The given data was invalid.",
* "errors": {
* "aSyncUrl": [
* "The a sync url field is required."
Copy link
Contributor

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);
Copy link
Contributor

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);

/**
/**
Copy link
Contributor

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';
Copy link
Contributor

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)) {
Copy link
Contributor

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) {
Copy link
Contributor

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"

Copy link
Contributor

@fahad-curriki fahad-curriki left a 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.

@fahad-curriki fahad-curriki merged commit 2350448 into develop Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants