Change endpoint from check to exist

pull/17642/head
Enis Necipoglu 2 years ago
parent fd28ef3ff3
commit 7050dc8394
No known key found for this signature in database
GPG Key ID: 1EC55E13241E1680

@ -914,7 +914,7 @@
"uniqueName": "DoesSlugExistAsyncBySlug",
"name": "DoesSlugExistAsync",
"httpMethod": "GET",
"url": "api/cms-kit-public/pages/check",
"url": "api/cms-kit-public/pages/exist",
"supportedVersions": [],
"parametersOnMethod": [
{

@ -1 +0,0 @@
abp generate-proxy -t csharp -url https://localhost:44349 -m cms-kit --without-contracts

@ -39,7 +39,7 @@ public class PagesPublicController : CmsKitPublicControllerBase, IPagePublicAppS
}
[HttpGet]
[Route("check")]
[Route("exist")]
public virtual Task<bool> DoesSlugExistAsync([NotNull][FromQuery] string slug)
{
return PageAppService.DoesSlugExistAsync(slug);

Loading…
Cancel
Save