mirror of
https://github.com/ragestudio/comty.js.git
synced 2025-06-09 02:24:18 +00:00
use new feed namespaces
This commit is contained in:
parent
4911d7b1af
commit
a89ac130c7
@ -13,7 +13,7 @@ export default class FeedModel {
|
|||||||
static async getMusicFeed({ trim, limit } = {}) {
|
static async getMusicFeed({ trim, limit } = {}) {
|
||||||
const { data } = await request({
|
const { data } = await request({
|
||||||
method: "GET",
|
method: "GET",
|
||||||
url: `/feed/music`,
|
url: `/music/feed/my`,
|
||||||
params: {
|
params: {
|
||||||
trim: trim ?? 0,
|
trim: trim ?? 0,
|
||||||
limit: limit ?? Settings.get("feed_max_fetch"),
|
limit: limit ?? Settings.get("feed_max_fetch"),
|
||||||
@ -34,7 +34,7 @@ export default class FeedModel {
|
|||||||
static async getGlobalMusicFeed({ trim, limit } = {}) {
|
static async getGlobalMusicFeed({ trim, limit } = {}) {
|
||||||
const { data } = await request({
|
const { data } = await request({
|
||||||
method: "GET",
|
method: "GET",
|
||||||
url: `/music/feed/global`,
|
url: `/music/feed`,
|
||||||
params: {
|
params: {
|
||||||
trim: trim ?? 0,
|
trim: trim ?? 0,
|
||||||
limit: limit ?? Settings.get("feed_max_fetch"),
|
limit: limit ?? Settings.get("feed_max_fetch"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user