From a6d3d4ea6f4e194efad51330008c0d67c2745837 Mon Sep 17 00:00:00 2001 From: "Vipul Gupta (@vipulgupta2048)" Date: Wed, 20 Apr 2022 23:12:06 +0530 Subject: [PATCH] patch: Remove additional quotes Signed-off-by: Vipul Gupta (@vipulgupta2048) --- DOCUMENTATION.md | 6 +++--- lib/models/os.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md index 0bf043ef6..393b36ae6 100644 --- a/DOCUMENTATION.md +++ b/DOCUMENTATION.md @@ -6328,15 +6328,15 @@ generation is only supported when using a session token, not an API key. **Example** ```js -balena.models.os.getConfig('myorganization/myapp', { version: ''2.12.7+rev1.prod'' }).then(function(config) { +balena.models.os.getConfig('myorganization/myapp', { version: '2.12.7+rev1.prod' }).then(function(config) { fs.writeFile('foo/bar/config.json', JSON.stringify(config)); }); -balena.models.os.getConfig(123, { version: ''2.12.7+rev1.prod'' }).then(function(config) { +balena.models.os.getConfig(123, { version: '2.12.7+rev1.prod' }).then(function(config) { fs.writeFile('foo/bar/config.json', JSON.stringify(config)); }); -balena.models.os.getConfig('myorganization/myapp', { version: ''2.12.7+rev1.prod'' }, function(error, config) { +balena.models.os.getConfig('myorganization/myapp', { version: '2.12.7+rev1.prod' }, function(error, config) { if (error) throw error; fs.writeFile('foo/bar/config.json', JSON.stringify(config)); }); diff --git a/lib/models/os.ts b/lib/models/os.ts index 4215c84d2..a963db235 100644 --- a/lib/models/os.ts +++ b/lib/models/os.ts @@ -769,15 +769,15 @@ const getOsModel = function ( * @returns {Promise} * * @example - * balena.models.os.getConfig('myorganization/myapp', { version: ''2.12.7+rev1.prod'' }).then(function(config) { + * balena.models.os.getConfig('myorganization/myapp', { version: '2.12.7+rev1.prod' }).then(function(config) { * fs.writeFile('foo/bar/config.json', JSON.stringify(config)); * }); * - * balena.models.os.getConfig(123, { version: ''2.12.7+rev1.prod'' }).then(function(config) { + * balena.models.os.getConfig(123, { version: '2.12.7+rev1.prod' }).then(function(config) { * fs.writeFile('foo/bar/config.json', JSON.stringify(config)); * }); * - * balena.models.os.getConfig('myorganization/myapp', { version: ''2.12.7+rev1.prod'' }, function(error, config) { + * balena.models.os.getConfig('myorganization/myapp', { version: '2.12.7+rev1.prod' }, function(error, config) { * if (error) throw error; * fs.writeFile('foo/bar/config.json', JSON.stringify(config)); * });