mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-20 19:51:09 +10:00
chore: prettier pass
This commit is contained in:
@ -16,7 +16,6 @@ export default defineEventHandler(async (h3) => {
|
||||
statusCode: 400,
|
||||
message: "Missing news ID",
|
||||
});
|
||||
|
||||
|
||||
const news = await newsManager.fetchById(id);
|
||||
if (!news)
|
||||
@ -25,6 +24,5 @@ export default defineEventHandler(async (h3) => {
|
||||
message: "News article not found",
|
||||
});
|
||||
|
||||
|
||||
return news;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user