lemmy-js-client 0.20.0-api-v4.2 → 0.20.0-api-v4.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/http.js +1 -1
- package/dist/types/GetSiteResponse.d.ts +0 -2
- package/package.json +1 -1
package/dist/http.js
CHANGED
@@ -101,7 +101,7 @@ class LemmyHttp {
|
|
101
101
|
* `HTTP.GET /account/settings`
|
102
102
|
*/
|
103
103
|
getMyUser(options) {
|
104
|
-
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/
|
104
|
+
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/my_user", {}, options);
|
105
105
|
}
|
106
106
|
/**
|
107
107
|
* Export a backup of your user settings, including your saved content,
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import type { Language } from "./Language";
|
2
2
|
import type { LanguageId } from "./LanguageId";
|
3
3
|
import type { LocalSiteUrlBlocklist } from "./LocalSiteUrlBlocklist";
|
4
|
-
import type { MyUserInfo } from "./MyUserInfo";
|
5
4
|
import type { OAuthProvider } from "./OAuthProvider";
|
6
5
|
import type { PersonView } from "./PersonView";
|
7
6
|
import type { PublicOAuthProvider } from "./PublicOAuthProvider";
|
@@ -14,7 +13,6 @@ export type GetSiteResponse = {
|
|
14
13
|
site_view: SiteView;
|
15
14
|
admins: Array<PersonView>;
|
16
15
|
version: string;
|
17
|
-
my_user?: MyUserInfo;
|
18
16
|
all_languages: Array<Language>;
|
19
17
|
discussion_languages: Array<LanguageId>;
|
20
18
|
/**
|
package/package.json
CHANGED