Add API endpoint to fetch list of plugins to core API
This commit is contained in:
parent
f00d860d9c
commit
d33a59e2b0
|
@ -10,4 +10,13 @@ export const buildPluginEndpoints = API => ({
|
|||
json: false,
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* Gets a list of all plugins
|
||||
*/
|
||||
getPlugins: async () => {
|
||||
return await API.get({
|
||||
url: "/api/plugin",
|
||||
})
|
||||
},
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue