Use string type instead of any for exportSettings. Fixes #229 (#230)

This commit is contained in:
Dessalines 2024-01-09 22:00:00 -05:00 committed by GitHub
parent 5d29352776
commit b2b290b69b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -243,7 +243,7 @@ export class LemmyHttp {
* `HTTP.GET /user/export_settings` * `HTTP.GET /user/export_settings`
*/ */
exportSettings() { exportSettings() {
return this.#wrapper<object, any>( return this.#wrapper<object, string>(
HttpType.Get, HttpType.Get,
"/user/export_settings", "/user/export_settings",
{}, {},