Skip to content

Commit

Permalink
fixing endpoint name
Browse files Browse the repository at this point in the history
  • Loading branch information
spell00 committed Nov 5, 2020
1 parent 226230e commit 65eefba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/api/php/endpoints/project/dicoms.class.inc
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class Dicoms extends Endpoint implements \LORIS\Middleware\ETagCalculator
$provisioner = new \LORIS\api\Provisioners\ProjectDicomsObjectProvisioner(
$this->_project,
$since,
'\LORIS\api\Models\ProjectDicomsObject'
'\LORIS\api\Models\ProjectDicoms'
);

$dicoms = iterator_to_array($provisioner->getAllInstances());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
namespace LORIS\api\Models;

/**
* A ProjectDicom contains values from a Dicom file of a project.
* A ProjectDicoms contains values from a Dicom file of a project.
*
* @category API
* @package Loris
* @author Simon Pelletier <simon.pelletier@mcin.ca>
* @license http://www.gnu.org/licenses/gpl-3.0.txt GPLv3
* @link https://www.github.com/aces/Loris/
*/
class ProjectDicom implements \LORIS\Data\DataInstance
class ProjectDicoms implements \LORIS\Data\DataInstance
{
/**
* Implements \LORIS\Data\DataInstance interface for this object.
Expand Down

0 comments on commit 65eefba

Please sign in to comment.