Skip to content

Commit

Permalink
♻️ :: 임포트문 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
lyutvs committed May 11, 2023
1 parent 560c0fc commit 81366d4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import com.google.firebase.messaging.Message
import com.google.firebase.messaging.MulticastMessage
import com.google.firebase.messaging.Notification
import io.github.v1servicenotification.detail.spi.PostDetailFcmSpi
import io.github.v1servicenotification.error.NotificationDeviceTokenLengthException
import io.github.v1servicenotification.error.InvalidDeviceTokenLengthException
import org.springframework.stereotype.Service

@Service
Expand Down Expand Up @@ -65,7 +65,7 @@ class FcmService: PostDetailFcmSpi {
.build()
FirebaseMessaging.getInstance().sendAsync(message)
} else {
throw NotificationDeviceTokenLengthException.EXCEPTION
throw InvalidDeviceTokenLengthException.EXCEPTION
}
}

Expand Down

0 comments on commit 81366d4

Please sign in to comment.