Skip to content

Commit

Permalink
[CI] update code-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gol2580 committed Jan 20, 2024
1 parent 4127ced commit 63f4729
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class FCMService {
@Value("${fcm.key.scope}")
private String fireBaseScope;

@Value(("{fcm.url}"))
@Value(("${fcm.url}"))
private String FCM_URL;

private final FCMTokenRepository fcmTokenRepository;
Expand All @@ -47,6 +47,7 @@ public class FCMService {
@PostConstruct
public void init() {
try {
System.out.println(FCM_URL+" "+fireBaseScope+" "+FCM_PRIVATE_KEY_PATH);
GoogleCredentials googleCredentials = GoogleCredentials
.fromStream(new ClassPathResource(FCM_PRIVATE_KEY_PATH).getInputStream())
.createScoped(List.of(fireBaseScope));
Expand Down

0 comments on commit 63f4729

Please sign in to comment.