@daocloud-proto/ghippo 0.18.0-dev1 → 0.18.0-rc1

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/ghippo",
3
- "version":"0.18.0-dev1",
3
+ "version":"0.18.0-rc1",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -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
  }