Skip to content

Commit

Permalink
Merge pull request #89 from packbackbooks/poda-966-fix-url
Browse files Browse the repository at this point in the history
PODA-966: Fix updating a line item
  • Loading branch information
lin-brian-l authored May 1, 2023
2 parents b433488 + daef5e7 commit 960f15b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 5.3.2

Fix URL for updating a line item [#87](https://github.com/packbackbooks/lti-1-3-php-library/pull/87).

## 5.3.1

Validate scopes before a request [#86](https://github.com/packbackbooks/lti-1-3-php-library/pull/86).

## 5.3.0

Add `AssignmentGradesService::deleteLineitem()` to update a line item [#83](https://github.com/packbackbooks/lti-1-3-php-library/pull/83).
Expand Down
2 changes: 1 addition & 1 deletion src/LtiAssignmentsGradesService.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function updateLineitem(LtiLineItem $lineitemToUpdate): LtiLineitem
{
$request = new ServiceRequest(
ServiceRequest::METHOD_PUT,
$this->getServiceData()['lineitems'],
$this->getServiceData()['lineitem'],
ServiceRequest::TYPE_UPDATE_LINEITEM
);

Expand Down

0 comments on commit 960f15b

Please sign in to comment.