Skip to content

Commit

Permalink
πŸ› :: NullPointException
Browse files Browse the repository at this point in the history
  • Loading branch information
gurdl0525 committed Dec 7, 2023
1 parent 6da2aba commit 93aca71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Diary(

fun toFilteringTimelineResponse(badWordFiltering: BadWordFiltering) = TimelineResponse(
this.id!!,
badWordFiltering.change(this.content),
this.content?.let { return@let badWordFiltering.change(it) },
this.mood,
this.tagList,
this.image,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.onui.global.config
package com.example.onui.global.config.firebase

import com.example.onui.global.env.FCMProperty
import com.google.auth.oauth2.GoogleCredentials
Expand All @@ -7,14 +7,9 @@ import com.google.firebase.FirebaseOptions
import com.google.firebase.messaging.FirebaseMessaging
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import org.springframework.core.io.ClassPathResource
import java.io.File
import java.io.IOException
import java.io.InputStream
import java.nio.file.Files
import java.nio.file.Paths
import kotlin.io.path.Path


@Configuration
class FCMConfig(
Expand Down

0 comments on commit 93aca71

Please sign in to comment.