Skip to content

Commit

Permalink
fix(FaceDetectionMapper): Use IConfig instead of IAppConfig
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr committed Jan 25, 2024
1 parent e419097 commit c0cc162
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Db/FaceDetectionMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
use OCP\AppFramework\Db\DoesNotExistException;
use OCP\AppFramework\Db\Entity;
use OCP\AppFramework\Db\QBMapper;
use OCP\AppFramework\Services\IAppConfig;
use OCP\DB\QueryBuilder\IQueryBuilder;
use OCP\IConfig;
use OCP\IDBConnection;

class FaceDetectionMapper extends QBMapper {
private IAppConfig $config;
private IConfig $config;

public function __construct(IDBConnection $db, IAppConfig $config) {
public function __construct(IDBConnection $db, IConfig $config) {
parent::__construct($db, 'recognize_face_detections', FaceDetection::class);
$this->db = $db;
$this->config = $config;
Expand Down

0 comments on commit c0cc162

Please sign in to comment.