Fix updateTotp Type Information (#205)

This commit is contained in:
TheBrokenRail 2023-10-20 20:55:23 -04:00 committed by GitHub
parent a616cf017d
commit 6c7030cb13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -300,7 +300,7 @@ export class LemmyHttp {
* `HTTP.POST /user/totp/update`
*/
updateTotp(form: UpdateTotp) {
return this.#wrapper<object, UpdateTotpResponse>(
return this.#wrapper<UpdateTotp, UpdateTotpResponse>(
HttpType.Post,
"/user/totp/update",
form,