Skip to content

Commit

Permalink
Fix mockserver solar data parsing (#6735)
Browse files Browse the repository at this point in the history
  • Loading branch information
martynas-sm authored May 12, 2024
1 parent 32fed56 commit cfc23de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mockserver/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ app.get('/v8/gfs/solar', (req, res, next) => {

fs.readFile(`./public/v8/gfs/solar.json`, (err, data) => {
const jsonData = JSON.parse(data);
jsonData.data.header.refTime = targetTime;
jsonData.data[0].header.refTime = targetTime;

res.json(jsonData);
});
Expand Down

0 comments on commit cfc23de

Please sign in to comment.