Skip to content

Commit a1fe86b

Browse files
chore: code formatting
1 parent 7924b60 commit a1fe86b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source/app/action/index.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,13 +417,13 @@ function quit(reason) {
417417
info("Status", "complete")
418418
info("MIME type", mime)
419419
const buffer = {
420-
_content:null,
420+
_content: null,
421421
get content() {
422422
return this._content
423423
},
424424
set content(value) {
425425
this._content = Buffer.isBuffer(value) ? value : Buffer.from(typeof value === "object" ? JSON.stringify(value) : `${value}`)
426-
}
426+
},
427427
}
428428
buffer.content = rendered
429429

source/plugins/community/stock/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default async function({login, q, imports, data, account}, {enabled = fal
1616

1717
//Query API for company informations
1818
console.debug(`metrics/compute/${login}/plugins > stock > querying api for company`)
19-
const {data: {quoteType: {shortName: company} = {shortName:symbol}}} = await imports.axios.get("https://yh-finance.p.rapidapi.com/stock/v2/get-profile", {
19+
const {data: {quoteType: {shortName: company} = {shortName: symbol}}} = await imports.axios.get("https://yh-finance.p.rapidapi.com/stock/v2/get-profile", {
2020
params: {symbol, region: "US"},
2121
headers: {"x-rapidapi-key": token},
2222
})

0 commit comments

Comments
 (0)