@daocloud-proto/ghippo 0.18.0-dev1 → 0.18.0-dev2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -164,6 +164,6 @@ export class Account {
|
|
|
164
164
|
return fm.fetchReq<PasswordDescriptionRequest, PasswordDescriptionResponse>(`/apis/ghippo.io/v1alpha1/current-user/password-description?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
165
165
|
}
|
|
166
166
|
static SetCurrentUserPassword(req: SetCurrentUserPasswordRequest, initReq?: fm.InitReq): Promise<SetCurrentUserPasswordResponse> {
|
|
167
|
-
return fm.fetchReq<SetCurrentUserPasswordRequest, SetCurrentUserPasswordResponse>(`/apis/ghippo.io/v1alpha1/current-user/set-password`, {...initReq, method: "PUT"})
|
|
167
|
+
return fm.fetchReq<SetCurrentUserPasswordRequest, SetCurrentUserPasswordResponse>(`/apis/ghippo.io/v1alpha1/current-user/set-password`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
|
|
168
168
|
}
|
|
169
169
|
}
|