add get token, fix prompt
Some checks failed
platform/multy-stub/pipeline/pr-master There was a failure building this commit
platform/multy-stub/pipeline/head There was a failure building this commit

This commit is contained in:
RustamRu
2025-03-03 19:49:11 +03:00
parent 69c280b266
commit c0883fc2bc
2 changed files with 60 additions and 21 deletions

View File

@@ -0,0 +1,9 @@
const getGigaToken = async () => {
const response = await fetch('https://admin.bro-js.ru/api/config/v1/dev')
const data = await response.json()
return data.features['dry-wash-bh'].GIGA_TOKEN.value
}
module.exports = {
getGigaToken
}