From 7ae862c5ce720e9483d4728f4295dede4f849436 Mon Sep 17 00:00:00 2001 From: Allan Bowe Date: Tue, 15 Nov 2022 13:01:13 +0000 Subject: [PATCH] fix: comments --- api/public/swagger.yaml | 2 +- api/src/controllers/client.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/public/swagger.yaml b/api/public/swagger.yaml index 4575edc..b2f481a 100644 --- a/api/public/swagger.yaml +++ b/api/public/swagger.yaml @@ -694,7 +694,7 @@ paths: value: {clientId: someFormattedClientID1234, clientSecret: someRandomCryptoString, accessTokenExpiration: 86400} 'Example 3': value: {clientId: someFormattedClientID1234, clientSecret: someRandomCryptoString, accessTokenExpiration: 86400} - summary: "Admin only task. Create client with the following attributes:\nClientId,\nClientSecret,\naccessTokenExpiryDays (optional),\nrefreshTokenExpiryDays (optional)" + summary: "Admin only task. Create client with the following attributes:\nClientId,\nClientSecret,\naccessTokenExpiration (optional),\nrefreshTokenExpiration (optional)" tags: - Client security: diff --git a/api/src/controllers/client.ts b/api/src/controllers/client.ts index dae173c..b6b6350 100644 --- a/api/src/controllers/client.ts +++ b/api/src/controllers/client.ts @@ -13,8 +13,8 @@ export class ClientController { * @summary Admin only task. Create client with the following attributes: * ClientId, * ClientSecret, - * accessTokenExpiryDays (optional), - * refreshTokenExpiryDays (optional) + * accessTokenExpiration (optional), + * refreshTokenExpiration (optional) * */ @Example({