mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-25 19:13:54 +00:00
Remove unused auth check
This commit is contained in:
parent
7f1b0fc538
commit
093552fad0
1 changed files with 0 additions and 3 deletions
|
|
@ -168,9 +168,6 @@ router.post(
|
|||
"/skins/:md5/approve",
|
||||
requireAuthed,
|
||||
asyncHandler(async (req, res) => {
|
||||
if (!req.ctx.authed()) {
|
||||
throw new Error("Not authenticated");
|
||||
}
|
||||
const { md5 } = req.params;
|
||||
req.log(`Approving skin with hash "${md5}"`);
|
||||
const skin = await SkinModel.fromMd5(req.ctx, md5);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue