Skip to content

Commit 7f32361

Browse files
committed
assignmnet 6
1 parent f6dc7dd commit 7f32361

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/services/WidgetService.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
const widgetUrl = "https://afternoon-earth-72200.herokuapp.com/api/widgets"
22
const topicsUrl = "https://afternoon-earth-72200.herokuapp.com/api/topics"
33

4+
//comment
45
export const findWidgetsForTopic = (topicId) =>
56
fetch(`${topicsUrl}/${topicId}/widgets`)
67
.then(response => response.json())

0 commit comments

Comments
 (0)