Skip to content

Conversation

AqibYounasAtTkxel
Copy link
Contributor

Publishing activity to canvas, existing feature of publishing project to canvas is also modified, following the logical flow of GCR

Copy link
Contributor

@aqeel-tkxel aqeel-tkxel left a comment

Choose a reason for hiding this comment

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

Changes requested.

Comment on lines 50 to 54
public function send(ActivityModel $activity, $data)
{

}
}
Copy link
Contributor

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.

Comment on lines +64 to +70
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) {
}
Copy link
Contributor

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?

Copy link
Contributor

@aqeel-tkxel aqeel-tkxel 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.

@aqeel-tkxel aqeel-tkxel merged commit 8dc79b2 into develop Sep 26, 2022
@aqeel-tkxel aqeel-tkxel deleted the feature/CUR-4002-publish-activity-to-canvas branch September 26, 2022 10:43
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