-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Create event #44
Conversation
pic-api/src/main/kotlin/com/mashup/pic/event/controller/EventController.kt
Outdated
Show resolved
Hide resolved
pic-api/src/main/kotlin/com/mashup/pic/event/controller/dto/CreateEventRequest.kt
Show resolved
Hide resolved
pic-domain/src/main/kotlin/com/mashup/pic/domain/event/EventService.kt
Outdated
Show resolved
Hide resolved
pic-api/src/main/kotlin/com/mashup/pic/event/controller/dto/CreateEventRequest.kt
Outdated
Show resolved
Hide resolved
return groupRepository.findByIdOrNull(groupId) | ||
?: throw PicException.of( | ||
type = PicExceptionType.NOT_EXIST, | ||
message = "$groupId μ ν΄λΉνλ κ·Έλ£Ήλ₯Ό μ°Ύμ μ μμ΅λλ€." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
message = "$groupId μ ν΄λΉνλ κ·Έλ£Ήλ₯Ό μ°Ύμ μ μμ΅λλ€." | |
message = "$groupId μ ν΄λΉνλ κ·Έλ£Ήμ μ°Ύμ μ μμ΅λλ€." |
description: String, | ||
date: LocalDateTime, | ||
pictures: List<String> | ||
): Long { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idλ§ λ°ννλ μ΄μ κ° μλμ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
νλ‘μ°μ idλ‘ μμΈλ³΄κΈ° api νΈμΆ μμ μ΄κΈ° λλ¬Έμ λλΉ
private val eventRepository: EventRepository, | ||
private val groupRepository: GroupRepository, | ||
private val eventJoinRepository: EventJoinRepository |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
λ°λ‘ λλμ§ μμΌμ ¨λ€μ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μ ꡬ체μ μΌλ‘ μ΄λ»κ² λλλ κ±Έ λ§μνμλμ§ μ κ° μ΄ν΄λͺ»ν κ² κ°μμ
π Changes
π§ββοΈ To Reviewers
π Related Issues (optional)
π Check List