use new feed namespaces

This commit is contained in:
SrGooglo 2024-04-25 20:24:53 +00:00
parent 4911d7b1af
commit a89ac130c7

View File

@ -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"),