From 8495ccbd15bcf2318074350f61f55ac3bc020420 Mon Sep 17 00:00:00 2001 From: Kristian Carr <127743278+kcarr-bjss@users.noreply.github.com> Date: Wed, 20 Sep 2023 09:49:48 +0100 Subject: [PATCH] feat(cb2-8225): added the TechRecord.Unarchive role and locked the unarchive POST endpoint down with it (#88) --- src/functions/functionalConfig.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/functions/functionalConfig.ts b/src/functions/functionalConfig.ts index 8acd9f6..a890765 100644 --- a/src/functions/functionalConfig.ts +++ b/src/functions/functionalConfig.ts @@ -66,6 +66,12 @@ export const functionConfig: { [key: string]: NonEmptyArray } = { path: "vehicles/archive/*", }, ], + "TechRecord.Unarchive": [ + { + verbs: ["POST", "OPTIONS"], + path: "vehicles/unarchive/*", + }, + ], "TestResult.CreateDeskBased": [ { verbs: ["POST", "OPTIONS"],