u
This commit is contained in:
@@ -551,6 +551,7 @@ export function register(app, basePath = '') {
|
|||||||
const decodedSku = decodeURIComponent(sku);
|
const decodedSku = decodeURIComponent(sku);
|
||||||
const article = await db.updateBySku(req.user.id, decodedSku, patch);
|
const article = await db.updateBySku(req.user.id, decodedSku, patch);
|
||||||
emitArticlesSignal(req);
|
emitArticlesSignal(req);
|
||||||
|
emitArticleSignal(req, decodedSku);
|
||||||
res.status(200).json({ article });
|
res.status(200).json({ article });
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
const status = articleErrorStatus(error);
|
const status = articleErrorStatus(error);
|
||||||
|
|||||||
Reference in New Issue
Block a user