refactor(api): 🏷️ Port more misc endpoints to use new schemas
Some checks failed
Mirror to Codeberg / Mirror (push) Failing after 0s

This commit is contained in:
Jesse Wierzbinski 2025-02-13 02:34:44 +01:00
parent e3e285571e
commit 247a8fbce3
No known key found for this signature in database
16 changed files with 462 additions and 351 deletions

View file

@ -49,13 +49,14 @@ describe("POST /api/v1/apps/", () => {
const json = await response.json();
expect(json).toEqual({
id: expect.any(String),
name: "Test Application",
website: "https://example.com",
client_id: expect.any(String),
client_secret: expect.any(String),
client_secret_expires_at: "0",
redirect_uri: "https://example.com",
vapid_link: null,
redirect_uris: ["https://example.com"],
scopes: ["read", "write"],
});
clientId = json.client_id;