Skip to content

Commit

Permalink
[FIX] error fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
ohksj77 committed Mar 8, 2024
1 parent ba91952 commit c152000
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/backend-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ jobs:
chmod 644 src/main/resources/engaged-shade-405207-b8ba9bb8a30f.json
chmod +x gradlew
find src
./gradlew build
- run: ./gradlew build
- run: ./gradlew jib

- name: Test Coverage Report
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,14 @@ public class FcmConfig {

@Bean
public FirebaseApp firebaseApp() throws IOException {
log.info("FirebaseApp initializing...11111");

final FirebaseOptions options = new FirebaseOptions.Builder()
.setCredentials(GoogleCredentials.fromStream(
new ClassPathResource(firebaseProperties.getLocation()).getInputStream()))
.build();
log.info("FirebaseApp initializing...22222");

if (FirebaseApp.getApps().isEmpty()) {
log.info("FirebaseApp initializing...33333");
return FirebaseApp.initializeApp(options);
}
log.info("FirebaseApp initializing...44444");
return FirebaseApp.getInstance();
}

Expand Down

0 comments on commit c152000

Please sign in to comment.