Code quality improvements and cleanup + Implemented ChatService
Some checks failed
Setup testing environment and test the code / build (push) Has been cancelled

This commit is contained in:
2026-04-05 15:19:55 +02:00
parent ec418ca7c9
commit 4a34d73c2f
20 changed files with 380 additions and 39 deletions

View File

@@ -15,13 +15,13 @@ export class FileUploadService {
client: AxiosInstance;
cdnClient: AxiosInstance;
constructor(token: string, private httpClientOverwrite: AxiosInstance | null, private cdnHttpClientOverwrite: AxiosInstance | null) {
this.client = (httpClientOverwrite ?? getClient(false)).create({
constructor(token: string) {
this.client = getClient(false).create({
headers: {
"Authorization": token
}
})
this.cdnClient = (cdnHttpClientOverwrite ?? getClient(true)).create({
this.cdnClient = getClient(true).create({
headers: {
"Authorization": token
}