lemmy-js-client 1.0.0-change-api-routes.0 → 1.0.0-change-api-routes.1
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/dist/http.js +2 -2
- package/package.json +1 -1
package/dist/http.js
CHANGED
|
@@ -614,7 +614,7 @@ let LemmyHttp = class LemmyHttp extends runtime_1.Controller {
|
|
|
614
614
|
* @summary Get your unread counts.
|
|
615
615
|
*/
|
|
616
616
|
async getUnreadCount(options) {
|
|
617
|
-
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/notification/
|
|
617
|
+
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/notification/count", {}, options);
|
|
618
618
|
}
|
|
619
619
|
/**
|
|
620
620
|
* @summary Get your inbox (replies, comment mentions, post mentions, and messages)
|
|
@@ -1666,7 +1666,7 @@ __decorate([
|
|
|
1666
1666
|
], LemmyHttp.prototype, "getReportCount", null);
|
|
1667
1667
|
__decorate([
|
|
1668
1668
|
(0, runtime_1.Security)("bearerAuth"),
|
|
1669
|
-
(0, runtime_1.Get)("/account/notification/
|
|
1669
|
+
(0, runtime_1.Get)("/account/notification/count"),
|
|
1670
1670
|
(0, runtime_1.Tags)("Account"),
|
|
1671
1671
|
__param(0, (0, runtime_1.Inject)())
|
|
1672
1672
|
], LemmyHttp.prototype, "getUnreadCount", null);
|
package/package.json
CHANGED