mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2026-04-06 19:43:25 +08:00
refactor: Revise sync artifacts APIs
- /api/sync/artifacts: sync all artifacts - /api/sync/artifact/:name: sync a specific artifact
This commit is contained in:
@@ -98,10 +98,6 @@ function getSubscription(req, res) {
|
||||
if (sub) {
|
||||
success(res, sub);
|
||||
} else {
|
||||
res.status(404).json({
|
||||
status: 'failed',
|
||||
message: `未找到订阅:${name}!`,
|
||||
});
|
||||
failed(
|
||||
res,
|
||||
new ResourceNotFoundError(
|
||||
|
||||
Reference in New Issue
Block a user