Skip to content

Commit

Permalink
Whitespace fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
prasanthu committed Nov 6, 2019
1 parent 6f8ab08 commit 11ca13c
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ import org.ostelco.common.publisherex.DelegatePubSubPublisher
import org.ostelco.common.publisherex.PubSubPublisher


object StripeEventPublisher : PubSubPublisher by DelegatePubSubPublisher(
topicId = ConfigRegistry.config.stripeEventTopicId,
projectId = ConfigRegistry.config.projectId) {
object StripeEventPublisher :
PubSubPublisher by DelegatePubSubPublisher(
topicId = ConfigRegistry.config.stripeEventTopicId,
projectId = ConfigRegistry.config.projectId) {

fun publish(event: Event) {

Expand All @@ -27,4 +28,4 @@ object StripeEventPublisher : PubSubPublisher by DelegatePubSubPublisher(
/* Monkeypatching uber alles! */
private fun Event.byteString(): ByteString = ByteString.copyFromUtf8(this.toJson())

}
}

0 comments on commit 11ca13c

Please sign in to comment.