Skip to content

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.

* @param $aSyncUrl string
*/
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.

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.

public function createMSTeamAssignment($token, $classId, $project, $aSyncUrl)
{
\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