From e814aacb862fdb4dff96ee49c0911c42a8622833 Mon Sep 17 00:00:00 2001 From: Fabian Stamm Date: Sun, 20 Dec 2020 00:04:09 +0100 Subject: [PATCH] Add the new fields to the admin API --- src/api/admin/client.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/api/admin/client.ts b/src/api/admin/client.ts index 7cf20d9..34fbb4d 100644 --- a/src/api/admin/client.ts +++ b/src/api/admin/client.ts @@ -76,6 +76,14 @@ ClientRouter.route("/") type: Types.STRING, optional: true, }, + featured: { + type: Types.BOOLEAN, + optional: true, + }, + description: { + type: Types.STRING, + optional: true, + }, }, true ), @@ -153,6 +161,14 @@ ClientRouter.route("/:id") type: Types.STRING, optional: true, }, + featured: { + type: Types.BOOLEAN, + optional: true, + }, + description: { + type: Types.STRING, + optional: true, + }, }, true ),