-
Notifications
You must be signed in to change notification settings - Fork 15
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
Feature/cur 4002 publish activity to canvas #1288
Feature/cur 4002 publish activity to canvas #1288
Conversation
…iveLearningStudio-API into feature/CUR-4002-publish-activity-to-canvas
…iveLearningStudio-API into feature/CUR-4002-publish-activity-to-canvas
…iveLearningStudio-API into feature/CUR-4002-publish-activity-to-canvas
…iveLearningStudio-API into feature/CUR-4002-publish-activity-to-canvas
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.
Changes requested.
app/CurrikiGo/Canvas/Activity.php
Outdated
public function send(ActivityModel $activity, $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.
Are we using this class for anything? If not, it could be deleted.
app/CurrikiGo/Canvas/Commands/CreateAssignmentGroupsCommand.php
Outdated
Show resolved
Hide resolved
try { | ||
$response = $this->httpClient->request('GET', $this->apiURL . '/courses/' . $this->courseId . '/' . $this->endpoint . '?per_page=1000', [ | ||
'headers' => ['Authorization' => "Bearer {$this->accessToken}"] | ||
])->getBody()->getContents(); | ||
$response = json_decode($response); | ||
} catch (Exception $ex) { | ||
} |
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.
Pulling in too many records here?
…iveLearningStudio-API into feature/CUR-4002-publish-activity-to-canvas
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.
Publishing activity to canvas, existing feature of publishing project to canvas is also modified, following the logical flow of GCR