Skip to content

Commit

Permalink
refactor: rename a variable
Browse files Browse the repository at this point in the history
  • Loading branch information
kripod committed Apr 17, 2024
1 parent 072f301 commit 243dd4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/api/v1/symbols/index.json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ export const GET: APIRoute = () =>
Response.json(
Object.fromEntries(
quoteRecords.map((quoteRecord) => {
const lastEntry = Object.entries(quoteRecord.data).at(-1);
return [quoteRecord.id, lastEntry];
const lastQuote = Object.entries(quoteRecord.data).at(-1);
return [quoteRecord.id, lastQuote];
}),
),
);

0 comments on commit 243dd4c

Please sign in to comment.