Presentation Links api bug fixing
Change-Id: I4746ac7951e18469e752182eba49dcb5619bb991
This commit is contained in:
parent
908e24edf1
commit
867abe25df
@ -859,7 +859,7 @@ final class OAuth2PresentationApiController extends OAuth2ProtectedController
|
|||||||
'description',
|
'description',
|
||||||
];
|
];
|
||||||
|
|
||||||
$link = $this->presentation_service->addLinkTo($request, $presentation_id, HTMLCleaner::cleanData($data, $fields));
|
$link = $this->presentation_service->addLinkTo($presentation_id, HTMLCleaner::cleanData($data, $fields));
|
||||||
|
|
||||||
return $this->created($link->getId());
|
return $this->created($link->getId());
|
||||||
}
|
}
|
||||||
@ -918,7 +918,7 @@ final class OAuth2PresentationApiController extends OAuth2ProtectedController
|
|||||||
'description',
|
'description',
|
||||||
];
|
];
|
||||||
|
|
||||||
$this->presentation_service->updateLink($request, $presentation_id, $link_id, HTMLCleaner::cleanData($data, $fields));
|
$this->presentation_service->updateLink($presentation_id, $link_id, HTMLCleaner::cleanData($data, $fields));
|
||||||
|
|
||||||
return $this->updated();
|
return $this->updated();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user