fix: #2169 webhooks not firing (#2178)

* fix webhooks not firing due to missing session

* disable webhook test button because it doesnt do anything

* fix background task administration not working at all

* fix error in test
This commit is contained in:
Sören 2023-02-26 20:27:22 +01:00 committed by GitHub
parent da791ec9c5
commit 84d55eb920
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 44 additions and 33 deletions

View file

@ -1,5 +1,6 @@
import { BaseAPI } from "../base/base-clients";
import { ServerTask } from "~/lib/api/types/server";
import { PaginationData } from "~/lib/api/types/non-generated";
const prefix = "/api";
@ -13,6 +14,6 @@ export class AdminTaskAPI extends BaseAPI {
}
async getAll() {
return await this.requests.get<ServerTask[]>(routes.base);
return await this.requests.get<PaginationData<ServerTask>>(routes.base);
}
}