You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- "use strict";
-
- /**
- * Read the documentation (https://strapi.io/documentation/developer-docs/latest/concepts/services.html#core-services)
- * to customize this service
- */
-
- module.exports = {
- getId: async (params) => {
- const results = await strapi.query("session-data").find(params);
- let arrKeys = [];
- results.forEach((i) => {
- if (!arrKeys.includes(i["id"])) arrKeys.push(i["id"]);
- });
- return arrKeys;
- },
- };
|