Skip to content

Commit

Permalink
Type: fix file path (#76)
Browse files Browse the repository at this point in the history
[Fix] change file path
  • Loading branch information
pingowl authored Nov 11, 2023
2 parents fba330c + d6e67df commit b94e4d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
with:
name: ${{ secrets.FIREBASE_JSON_FILENAME }}
json: ${{ secrets.FIREBASE_JSON }}
dir: 'src/main/resources/firebase/'
dir: 'src/main/resources'

- name: Build with Gradle
run: |
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ out/
### classpath ###
application.properties
p8_key.txt
firebase
igo-money-firebase-adminsdk.json
2 changes: 1 addition & 1 deletion src/main/java/igoMoney/BE/common/config/FCMConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class FCMConfig {

@Bean
FirebaseMessaging init() throws IOException {
ClassPathResource resource = new ClassPathResource("firebase/"+firebaseJsonFileName+".json");
ClassPathResource resource = new ClassPathResource(firebaseJsonFileName+".json");
InputStream refreshToken = resource.getInputStream();
FirebaseApp firebaseApp = null;
List<FirebaseApp> firebaseAppList = FirebaseApp.getApps();
Expand Down

0 comments on commit b94e4d7

Please sign in to comment.