forked from DebaucheryLibrarian/traxxx
Refactored http timeout handling.
This commit is contained in:
@@ -9,9 +9,19 @@ function initStashesActions(_store, _router) {
|
||||
await del(`/stashes/${stashId}/actors/${actorId}`);
|
||||
}
|
||||
|
||||
async function stashScene(context, { sceneId, stashId }) {
|
||||
await post(`/stashes/${stashId}/scenes`, { sceneId });
|
||||
}
|
||||
|
||||
async function unstashScene(context, { sceneId, stashId }) {
|
||||
await del(`/stashes/${stashId}/scenes/${sceneId}`);
|
||||
}
|
||||
|
||||
return {
|
||||
stashActor,
|
||||
stashScene,
|
||||
unstashActor,
|
||||
unstashScene,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user