From a65702df1dfae4882d4c4e0519af5e5f6e747c2d Mon Sep 17 00:00:00 2001 From: kirrg001 Date: Tue, 16 Oct 2018 16:00:50 +0200 Subject: [PATCH] Extended api/index.js to export all available api versions refs #9866 --- core/server/api/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/server/api/index.js b/core/server/api/index.js index 97e238dd5d..f2790624f3 100644 --- a/core/server/api/index.js +++ b/core/server/api/index.js @@ -1 +1,3 @@ module.exports = require('./v0.1'); +module.exports['v0.1'] = require('./v0.1'); +module.exports.v2 = require('./v2');