Skip to content

Commit

Permalink
fix code snippet (#385)
Browse files Browse the repository at this point in the history
  • Loading branch information
SHSongs committed Apr 29, 2022
1 parent 1303565 commit 1293c6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -94,7 +94,7 @@ import aecor.data.Folded.syntax._
import SubscriptionState._

final case class SubscriptionState(status: Status) {
def update(e: SubscriptionEvent): Folded[Subscription] = e match {
def update(e: SubscriptionEvent): Folded[SubscriptionState] = e match {
case SubscriptionCreated(_, _, _) =>
impossible
case SubscriptionPaused =>
Expand Down

0 comments on commit 1293c6b

Please sign in to comment.