Skip to content

Commit

Permalink
add userId to response of /thing/:thingName/info
Browse files Browse the repository at this point in the history
  • Loading branch information
csuermann committed Oct 7, 2023
1 parent b08cbfd commit 0c972a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions admin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ app.get('/thing/:thingName/info', async function (req, res) {
shadow: makeTimestampsReadable(thingShadow),
account: {
...account,
userId: thingDetails.attributes['userId'],
SK: undefined,
PK: undefined,
accessToken: undefined,
Expand Down

0 comments on commit 0c972a2

Please sign in to comment.