mirror of
https://github.com/ragestudio/comty.js.git
synced 2025-06-08 18:14:18 +00:00
remove unused
This commit is contained in:
parent
a89ac130c7
commit
59b132852d
@ -1,18 +0,0 @@
|
||||
import request from "../../request"
|
||||
|
||||
export default class WidgetModel {
|
||||
static browse = async ({ limit, offset, keywords } = {}) => {
|
||||
const response = await request({
|
||||
instance: globalThis.__comty_shared_state.instances["marketplace"],
|
||||
method: "GET",
|
||||
url: "/widgets",
|
||||
params: {
|
||||
limit,
|
||||
offset,
|
||||
keywords: JSON.stringify(keywords),
|
||||
},
|
||||
})
|
||||
|
||||
return response.data
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user