Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
I
Inovasi Daerah Master
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ghitha Dinan
Inovasi Daerah Master
Commits
abb4ad3a
Commit
abb4ad3a
authored
Oct 08, 2021
by
Ghitha Dinan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
token interceptor fixing
parent
b4c3b10d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ApplicationCategoryServiceImpl.kt
...rah/master/service/impl/ApplicationCategoryServiceImpl.kt
+2
-2
No files found.
src/main/kotlin/id/co/sangkuriang/inovasi/daerah/master/service/impl/ApplicationCategoryServiceImpl.kt
View file @
abb4ad3a
...
@@ -2,7 +2,7 @@ package id.co.sangkuriang.inovasi.daerah.master.service.impl
...
@@ -2,7 +2,7 @@ package id.co.sangkuriang.inovasi.daerah.master.service.impl
import
id.co.sangkuriang.inovasi.daerah.master.constant.UPLOAD_ICON_APPLICATION_CATEGORY_DIR
import
id.co.sangkuriang.inovasi.daerah.master.constant.UPLOAD_ICON_APPLICATION_CATEGORY_DIR
import
id.co.sangkuriang.inovasi.daerah.master.constant.UPLOAD_IMAGE_APPLICATION_CATEGORY_DIR
import
id.co.sangkuriang.inovasi.daerah.master.constant.UPLOAD_IMAGE_APPLICATION_CATEGORY_DIR
import
id.co.sangkuriang.inovasi.daerah.master.constant.VALIDATOR_MSG_
NOT_FOUN
D
import
id.co.sangkuriang.inovasi.daerah.master.constant.VALIDATOR_MSG_
HAS_USE
D
import
id.co.sangkuriang.inovasi.daerah.master.exception.BadRequestException
import
id.co.sangkuriang.inovasi.daerah.master.exception.BadRequestException
import
id.co.sangkuriang.inovasi.daerah.master.helpers.responseCreated
import
id.co.sangkuriang.inovasi.daerah.master.helpers.responseCreated
import
id.co.sangkuriang.inovasi.daerah.master.helpers.responseNotFound
import
id.co.sangkuriang.inovasi.daerah.master.helpers.responseNotFound
...
@@ -144,7 +144,7 @@ class ApplicationCategoryServiceImpl : ApplicationCategoryService {
...
@@ -144,7 +144,7 @@ class ApplicationCategoryServiceImpl : ApplicationCategoryService {
val
checkName
=
repo
.
findByName
(
request
.
name
)
val
checkName
=
repo
.
findByName
(
request
.
name
)
if
(
checkName
.
isPresent
)
{
if
(
checkName
.
isPresent
)
{
val
msgCheckName
=
mapOf
(
"name"
to
"Nama ${request.name} $VALIDATOR_MSG_
NOT_FOUN
D"
)
val
msgCheckName
=
mapOf
(
"name"
to
"Nama ${request.name} $VALIDATOR_MSG_
HAS_USE
D"
)
if
(
id
==
null
)
{
if
(
id
==
null
)
{
listMessage
.
add
(
msgCheckName
)
listMessage
.
add
(
msgCheckName
)
}
else
{
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment