1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-23 00:03:33 +00:00

no log: trying to fix linting issues

This commit is contained in:
morpheus65535 2023-04-20 11:44:50 -04:00
parent 2c313a40a5
commit b7e4880918

View file

@ -77,7 +77,11 @@ export function useEpisodeAddBlacklist() {
}, },
{ {
onSuccess: (_, { seriesId, episodeId }) => { onSuccess: (_, { seriesId, episodeId }) => {
client.invalidateQueries([QueryKeys.Series, QueryKeys.Episodes, QueryKeys.Blacklist]); client.invalidateQueries([
QueryKeys.Series,
QueryKeys.Episodes,
QueryKeys.Blacklist,
]);
client.invalidateQueries([QueryKeys.Series, seriesId]); client.invalidateQueries([QueryKeys.Series, seriesId]);
}, },
} }
@ -92,7 +96,11 @@ export function useEpisodeDeleteBlacklist() {
api.episodes.deleteBlacklist(param.all, param.form), api.episodes.deleteBlacklist(param.all, param.form),
{ {
onSuccess: (_, param) => { onSuccess: (_, param) => {
client.invalidateQueries([QueryKeys.Series, QueryKeys.Episodes, QueryKeys.Blacklist]); client.invalidateQueries([
QueryKeys.Series,
QueryKeys.Episodes,
QueryKeys.Blacklist,
]);
}, },
} }
); );