mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 16:29:34 +00:00
feat: paginate workflow find
This commit is contained in:
parent
2a92cba09d
commit
1dcac25f6e
@ -129,6 +129,12 @@ module.exports = {
|
||||
|
||||
ctx.body = {
|
||||
data: await mapAsync(workflows, sanitizeOutput),
|
||||
pagination: {
|
||||
page: 1,
|
||||
pageCount: 1,
|
||||
pageSize: workflows.length,
|
||||
total: workflows.length,
|
||||
},
|
||||
};
|
||||
},
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user