🚀New lib version v0.5.0 [CI SKIP]

This commit is contained in:
2021-03-04 16:27:51 +00:00
parent 6eef75f329
commit 5a5a066bc6
18 changed files with 53 additions and 44 deletions

View File

@@ -55,14 +55,18 @@ class AuthService {
/**
* Get reset token
* Request a password reset token. <br> This will provide you with a reset token that you can use by posting to /api/auth/reset/{token}.
* @param locale
* @param requestBody CreateResetToken
* @returns ResponseEmpty
* @throws ApiError
*/
static async authControllerGetResetToken(requestBody) {
static async authControllerGetResetToken(locale, requestBody) {
const result = await request_1.request({
method: 'POST',
path: `/api/auth/reset`,
query: {
'locale': locale,
},
body: requestBody,
});
return result.body;