From a749db950f34961653f2e65d55647d3e559b443f Mon Sep 17 00:00:00 2001 From: Omar Brikaa Date: Mon, 2 May 2022 14:36:09 +0200 Subject: [PATCH] Fix the runtimes versions --- api/src/api/v2.js | 4 ++-- api/src/api/v3.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/src/api/v2.js b/api/src/api/v2.js index e95382a..3f1f563 100644 --- a/api/src/api/v2.js +++ b/api/src/api/v2.js @@ -205,7 +205,7 @@ router.ws('/connect', async (ws, req) => { JSON.stringify({ type: 'runtime', language: job.runtime.language, - version: job.runtime.version.raw, + version: job.runtime.version, }) ); @@ -278,7 +278,7 @@ router.get('/runtimes', (req, res) => { const runtimes = req.app.locals.runtimes.map(rt => { return { language: rt.language, - version: rt.version.raw, + version: rt.version, aliases: rt.aliases, runtime: rt.runtime, }; diff --git a/api/src/api/v3.js b/api/src/api/v3.js index d4a24d0..7c86798 100644 --- a/api/src/api/v3.js +++ b/api/src/api/v3.js @@ -203,7 +203,7 @@ router.ws('/connect', async (ws, req) => { JSON.stringify({ type: 'runtime', language: job.runtime.language, - version: job.runtime.version.raw, + version: job.runtime.version, }) ); @@ -276,7 +276,7 @@ router.get('/runtimes', (req, res) => { const runtimes = req.app.locals.runtimes.map((rt, index) => { return { language: rt.language, - version: rt.version.raw, + version: rt.version, aliases: rt.aliases, runtime: rt.runtime, id: index,