mirror of
https://github.com/directus/directus.git
synced 2026-04-03 03:00:39 -04:00
Use items service directly instead of super
Fixes callstack order problem, fixes #5538 pt 2
This commit is contained in:
@@ -128,6 +128,7 @@ router.patch(
|
||||
accountability: req.accountability,
|
||||
schema: req.schema,
|
||||
});
|
||||
|
||||
const primaryKey = await service.updateOne(req.accountability.user, req.body);
|
||||
const item = await service.readOne(primaryKey, req.sanitizedQuery);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user