🚀New lib version v0.5.0 [CI SKIP]
This commit is contained in:
6
dist/services/AuthService.js
vendored
6
dist/services/AuthService.js
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user