feat: schedule next airing episode
happens when new title is saved, or when new episode internal route is run successfully
This commit is contained in:
@@ -4,7 +4,6 @@ import { updateDeviceLastConnectedAt } from "~/models/token";
|
||||
|
||||
export const maybeUpdateLastConnectedAt = createMiddleware(async (c, next) => {
|
||||
const deviceId = await c.req.header("X-Aniplay-Device-Id");
|
||||
console.log("deviceId", deviceId);
|
||||
if (!deviceId) {
|
||||
return next();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user