[addon] fixes kitsu id gate condition

This commit is contained in:
TheBeastLT
2020-03-12 14:28:26 +01:00
parent a3cc795680
commit bcd3715612

View File

@@ -24,7 +24,7 @@ const builder = new addonBuilder({
});
builder.defineStreamHandler((args) => {
if (!args.id.match(/tt\d+/i) && args.id.match(/kitsu:\d+/i)) {
if (!args.id.match(/tt\d+/i) && !args.id.match(/kitsu:\d+/i)) {
return Promise.resolve({ streams: [] });
}