Skip to content

Commit a22ca5c

Browse files
authored
Merge pull request #650 from iamjwc/iamjwc-patch-1
Update README.md to fix an error in `orTee` example
2 parents 0063605 + 3655ed0 commit a22ca5c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1357,7 +1357,7 @@ import { sendNotification } from 'imaginary-service'
13571357
// Note logInsertError returns void on success but sendNotification takes User type.
13581358

13591359
const resAsync = insertUser(user)
1360-
.orTee(logUser)
1360+
.orTee(logInsertError)
13611361
.andThen(sendNotification)
13621362

13631363
// Note there is no LogError in the types below

0 commit comments

Comments
 (0)