From 62b60827d3f979a09b4c7859996b3d3f7bd830c0 Mon Sep 17 00:00:00 2001 From: Zoey Date: Fri, 25 Oct 2024 08:28:29 +0200 Subject: [PATCH] fix https://github.com/ZoeyVid/NPMplus/discussions/1185#discussioncomment-11045890 Signed-off-by: Zoey --- backend/schema/paths/tokens/post.json | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/backend/schema/paths/tokens/post.json b/backend/schema/paths/tokens/post.json index dece6b65..76ed48da 100644 --- a/backend/schema/paths/tokens/post.json +++ b/backend/schema/paths/tokens/post.json @@ -14,14 +14,16 @@ "minLength": 1, "type": "string" }, - "scope": { - "minLength": 1, - "type": "string", - "enum": ["user"] - }, "secret": { "minLength": 1, "type": "string" + }, + "expires": { + "type": "string" + }, + "scope": { + "type": "string", + "enum": ["user"] } }, "required": ["identity", "secret"],