Skip to content

Commit a749db9

Browse files
committed
Fix the runtimes versions
1 parent 61a833c commit a749db9

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

api/src/api/v2.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ router.ws('/connect', async (ws, req) => {
205205
JSON.stringify({
206206
type: 'runtime',
207207
language: job.runtime.language,
208-
version: job.runtime.version.raw,
208+
version: job.runtime.version,
209209
})
210210
);
211211

@@ -278,7 +278,7 @@ router.get('/runtimes', (req, res) => {
278278
const runtimes = req.app.locals.runtimes.map(rt => {
279279
return {
280280
language: rt.language,
281-
version: rt.version.raw,
281+
version: rt.version,
282282
aliases: rt.aliases,
283283
runtime: rt.runtime,
284284
};

api/src/api/v3.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ router.ws('/connect', async (ws, req) => {
203203
JSON.stringify({
204204
type: 'runtime',
205205
language: job.runtime.language,
206-
version: job.runtime.version.raw,
206+
version: job.runtime.version,
207207
})
208208
);
209209

@@ -276,7 +276,7 @@ router.get('/runtimes', (req, res) => {
276276
const runtimes = req.app.locals.runtimes.map((rt, index) => {
277277
return {
278278
language: rt.language,
279-
version: rt.version.raw,
279+
version: rt.version,
280280
aliases: rt.aliases,
281281
runtime: rt.runtime,
282282
id: index,

0 commit comments

Comments
 (0)