Revert to fetching MQTT credentials from the shared integration
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
251c3ead59
commit
bf538df2d9
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ let prefixMap = [] // [{ prefix, assetId }], longest prefix first so overlapping
|
|||
let subscribedTopics = new Set()
|
||||
|
||||
async function getCredentials() {
|
||||
const url = `${process.env.SETTINGS_URL}/settings/api/internal/integration/mqtt_plant`
|
||||
const url = `${process.env.SETTINGS_URL}/settings/api/internal/integration/mqtt`
|
||||
const res = await fetch(url, {
|
||||
headers: { Authorization: `Bearer ${process.env.SETTINGS_SECRET}` },
|
||||
signal: AbortSignal.timeout(5000),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue