mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
test(api): section-prefix tool URLs across integration, docker, and e2e api specs
This commit is contained in:
@@ -61,7 +61,7 @@ afterAll(async () => {
|
||||
function post(payload: Record<string, unknown>, token?: string) {
|
||||
return app.inject({
|
||||
method: "POST",
|
||||
url: "/api/v1/tools/html-to-image",
|
||||
url: "/api/v1/tools/image/html-to-image",
|
||||
headers: {
|
||||
...(token ? { authorization: `Bearer ${token}` } : {}),
|
||||
"content-type": "application/json",
|
||||
|
||||
Reference in New Issue
Block a user