Skip to content

Commit

Permalink
Merge pull request #57 from Link-MIND/feature/#56
Browse files Browse the repository at this point in the history
[Feature/#56] Timer createAt, updateAt 초기화 안됨 오류 해결
  • Loading branch information
mmihye committed Jan 12, 2024
2 parents e806193 + b39daf0 commit 4a05a93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;

@SpringBootApplication
@EnableJpaAuditing
public class ToasterApplication {

public static void main(String[] args) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void createCategory(final Long userId, final CreateCategoryDto createCate
val categoryNum= categoryRepository.findAllByUser(presentUser).size();

if(categoryNum >= MAX_CATERGORY_NUMBER){
throw new CustomException(Error.UNPROCESSABLE_ENTITY_CEEATE_CLIP_EXCEPTION, Error.UNPROCESSABLE_ENTITY_CEEATE_CLIP_EXCEPTION.getMessage());
throw new CustomException(Error.UNPROCESSABLE_ENTITY_CREATE_CLIP_EXCEPTION, Error.UNPROCESSABLE_ENTITY_CREATE_CLIP_EXCEPTION.getMessage());
}

//카테고리 생성
Expand Down

0 comments on commit 4a05a93

Please sign in to comment.