Skip to content

Commit

Permalink
[feat] #17 Add created entity details in response for new journey
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramachandran Nellaiyappan committed Mar 25, 2024
1 parent 203fec7 commit 2afb7d8
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
package com.github.nramc.dev.journey.api;

import com.github.nramc.dev.journey.api.repository.entity.LocationEntity;
import com.github.nramc.dev.journey.api.repository.LocationRepository;
import com.github.nramc.dev.journey.api.repository.entity.LocationEntity;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
@Slf4j
Expand All @@ -16,7 +15,7 @@ public static void main(String[] args) {
SpringApplication.run(JourneyApiApplication.class, args);
}

@Bean

CommandLineRunner commandLineRunner(LocationRepository locationRepository) {
return args -> {
LocationEntity entity = new LocationEntity("Munich");
Expand Down

0 comments on commit 2afb7d8

Please sign in to comment.