Configuring attributes like this worked for me:
const attributes = {
name: `token${getRandomID()}`,
description: "",
type: "custom",
lifespan: null,
permissions: [
"api::restaurant.restaurant.find",
]
};
Configuring attributes like this worked for me:
const attributes = {
name: `token${getRandomID()}`,
description: "",
type: "custom",
lifespan: null,
permissions: [
"api::restaurant.restaurant.find",
]
};