0.11.0-5 multi lw
This commit is contained in:
@@ -489,6 +489,13 @@ export const api = {
|
||||
afterMutationInvalidate(['/history', '/pipeline/queue']);
|
||||
return result;
|
||||
},
|
||||
async rescanDrive(devicePath) {
|
||||
const result = await request('/pipeline/rescan-drive', {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({ devicePath })
|
||||
});
|
||||
return result;
|
||||
},
|
||||
searchOmdb(q) {
|
||||
return request(`/pipeline/omdb/search?q=${encodeURIComponent(q)}`);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user