Skip to content

CUR-4156 - Add due date and retry logic on create assignment #1317

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

Merged
merged 2 commits into from
Sep 23, 2022

Conversation

shaheen7890
Copy link
Contributor

CUR-4156 - Add due date and retry logic on create assignment

@@ -170,8 +171,10 @@ public function createMSTeamAssignment($token, $classId, $project)
'Authorization' => 'Bearer ' . $token
];

$response = Http::withHeaders($headers)->withOptions(["verify"=>false])->post($apiURL, $postInput);
$response = Http::withHeaders($headers)->withOptions(["verify"=>false])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this call fails 3 times then API will fail, need to find way to make sure to call after update is reflect on MS Team.

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 with temporary fix, please check.

@fahad-curriki fahad-curriki merged commit 5ee7b72 into develop Sep 23, 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