Skip to content

Commit 31e3fb0

Browse files
committed
Dumb
1 parent c145841 commit 31e3fb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/controllers/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ router.get('/', (req, res) => {
4747
});
4848
router.get(
4949
'/album-art/:artist/years/:year/:show_date/{:source}/:size.png',
50-
async (req, res): any => {
50+
async (req, res): Promise<any> => {
5151
const size = parseInt(req.params['size'] || '500', 10); // Provide default or handle NaN
5252

5353
if (isNaN(size) || !(size > 0 && size <= 1500)) {
@@ -151,7 +151,7 @@ router.get(
151151
}
152152
);
153153

154-
router.get('/ios-album-art/:artist/:source_uuid/:size.png', async (req, res): any => {
154+
router.get('/ios-album-art/:artist/:source_uuid/:size.png', async (req, res): Promise<any> => {
155155
// Note: source_uuid is now mandatory based on the path, removed '?'
156156
const size = parseInt(req.params['size'] || '500', 10); // Provide default or handle NaN
157157

0 commit comments

Comments
 (0)