Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

Commit f4a8514

Browse files
greenie-msftdaniv-msft
authored andcommitted
Hardcode imageUrl for bikes/:id route
1 parent 29161a1 commit f4a8514

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

samples/BikeSharingApp/Bikes/server.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,8 @@ app.get('/api/bikes/:bikeId', function(req, res) {
229229
}
230230

231231
var theBike = result;
232+
// Hard code image url *FIX ME*
233+
theBike.imageUrl = "/static/logo.svg";
232234
theBike.id = theBike._id;
233235
delete theBike._id;
234236

0 commit comments

Comments
 (0)