pride 2024

This commit is contained in:
bignutty 2024-06-01 22:52:13 +02:00
parent 561cecdfdc
commit de373c55e7
5 changed files with 58 additions and 10 deletions

View file

@ -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)