mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-18 19:07:16 -04:00
pride 2024
This commit is contained in:
parent
561cecdfdc
commit
de373c55e7
5 changed files with 58 additions and 10 deletions
|
@ -42,7 +42,7 @@ module.exports.basecamp = async function (log, content = ""){
|
|||
|
||||
module.exports.ingest = async function (event, type = "generic"){
|
||||
try{
|
||||
let r = await superagent.get(`${process.env.INGEST_SERVICE_HOST}/d/${type}/${event}`)
|
||||
let r = await superagent.get(`${process.env.INGEST_SERVICE_HOST}/d/${type}/${encodeURIComponent(event)}`)
|
||||
.set("x-ingest-client", process.env.INGEST_SERVICE_CLIENT)
|
||||
}catch(e){
|
||||
console.log(e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue