mirror of
https://github.com/strapi/strapi.git
synced 2026-01-06 04:03:25 +00:00
Merge branch 'master' into local-upload-readme
This commit is contained in:
commit
5fcbcaa2f5
@ -44,7 +44,7 @@ const emailTemplate = {
|
||||
Your account is now linked with: <%= user.email %>.`,
|
||||
html: `<h1>Welcome on mywebsite.fr!</h1>
|
||||
<p>Your account is now linked with: <%= user.email %>.<p>`,
|
||||
},
|
||||
};
|
||||
|
||||
await strapi.plugins.email.services.email.sendTemplatedEmail(
|
||||
{
|
||||
|
||||
@ -212,7 +212,7 @@ const createAggregationFieldsResolver = function(model, fields, operation, typeC
|
||||
* Correctly format the data returned by the group by
|
||||
*/
|
||||
const preProcessGroupByData = function({ result, fieldKey, filters }) {
|
||||
const _result = _.toArray(result);
|
||||
const _result = _.toArray(result).filter(value => Boolean(value._id));
|
||||
return _.map(_result, value => {
|
||||
return {
|
||||
key: value._id.toString(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user