mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-06-01 23:30:48 +00:00
device-api: fix up small typos
Change-type: patch Signed-off-by: Matthew McGinn <matthew@balena.io>
This commit is contained in:
parent
93b64406d6
commit
2cb6ecc150
@ -247,7 +247,7 @@ export function createV2Api(router: Router, applications: ApplicationManager) {
|
|||||||
|
|
||||||
// TODO: This should really return the config as it
|
// TODO: This should really return the config as it
|
||||||
// is returned from the api, but currently that's not
|
// is returned from the api, but currently that's not
|
||||||
// the easiest thing due to the way their stored and
|
// the easiest thing due to the way they are stored and
|
||||||
// retrieved from the db - when all of the application
|
// retrieved from the db - when all of the application
|
||||||
// manager is strongly typed, revisit this. The best
|
// manager is strongly typed, revisit this. The best
|
||||||
// thing to do would be to represent the input with
|
// thing to do would be to represent the input with
|
||||||
@ -324,7 +324,7 @@ export function createV2Api(router: Router, applications: ApplicationManager) {
|
|||||||
const deviceInfo = JSON.parse(data);
|
const deviceInfo = JSON.parse(data);
|
||||||
|
|
||||||
return res.status(200).json({
|
return res.status(200).json({
|
||||||
status: 'sucess',
|
status: 'success',
|
||||||
info: {
|
info: {
|
||||||
arch: deviceInfo.arch,
|
arch: deviceInfo.arch,
|
||||||
deviceType: deviceInfo.slug,
|
deviceType: deviceInfo.slug,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user