Skip to content

Commit

Permalink
ktlint
Browse files Browse the repository at this point in the history
  • Loading branch information
meltapplee committed Nov 24, 2024
1 parent b03d841 commit ddb8812
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package org.meogo.domain.bookmark.service
import org.meogo.domain.bookmark.domain.Bookmark
import org.meogo.domain.bookmark.domain.BookmarkRepository
import org.meogo.domain.bookmark.exception.BookmarkNotFoundException
import org.meogo.domain.post.domain.PostRepository
import org.meogo.domain.user.exception.UserNotFoundException
import org.meogo.domain.user.facade.UserFacade
import org.springframework.stereotype.Service
Expand All @@ -13,8 +12,7 @@ import org.springframework.transaction.annotation.Transactional
@Service
class BookmarkService(
private val bookmarkRepository: BookmarkRepository,
private val userFacade: UserFacade,
private val postRepository: PostRepository
private val userFacade: UserFacade
) {

fun execute(schoolId: Int) {
Expand Down
1 change: 0 additions & 1 deletion src/main/kotlin/org/meogo/global/utill/FcmUtil.kt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ class FcmUtil {
} catch (e: FirebaseMessagingException) {
throw FcmException
}

}

fun messageSetting(fcmToken: List<String>, title: String, message: String) =
Expand Down
39 changes: 19 additions & 20 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
spring:
spring:
config.activate.on-profile: default
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: ${DB_URL}
username: ${DB_USERNAME}
password: ${DB_PASSWORD}
hikari:
maxLifetime: 580000
jpa:
config.activate.on-profile: default
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: ${DB_URL}
username: ${DB_USERNAME}
password: ${DB_PASSWORD}
hikari:
maxLifetime: 580000
jpa:
hibernate:
ddl-auto: update
show-sql: true
properties:
hibernate:
ddl-auto: update
show-sql: true
properties:
hibernate:
format_sql: true
open-in-view: false
database: mysql
format_sql: true
open-in-view: false
database: mysql

jackson:
property-naming-strategy: SNAKE_CASE
jackson:
property-naming-strategy: SNAKE_CASE

auth:
jwt:
Expand All @@ -38,7 +37,7 @@ cloud:
default-image: ${DEFAULT_IMAGE}
bucket: ${S3_BUCKET}
region:
static: ap-northeast-2
static: ap-northeast-2
stack:
auto: false

Expand Down

0 comments on commit ddb8812

Please sign in to comment.