Skip to content

Commit 969c519

Browse files
author
Cantor Chron
committed
Update quotes link.
1 parent 9c6131c commit 969c519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/org/learningconcurrency/ch6/Composition.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ object CompositionConcatAndFlatten extends App {
2828

2929
def fetchQuote(): Future[String] = Future {
3030
blocking {
31-
val url = "http://www.iheartquotes.com/api/v1/random?show_permalink=false&show_source=false"
31+
val url = "http://quotes.stormconsultancy.co.uk/random.json"
3232
Source.fromURL(url).getLines.mkString
3333
}
3434
}

0 commit comments

Comments
 (0)