Merge branch 'features/api-token-v2' into api-token-v2/cleanup-content-api-core-service

This commit is contained in:
Convly 2022-08-31 14:54:16 +02:00
commit 7eded0ab7b
3 changed files with 5 additions and 12 deletions

View File

@ -642,8 +642,8 @@ exports[`ADMIN | Pages | API TOKENS | EditView renders and matches the snapshot
.c6 {
color: #4945ff;
font-size: 0.75rem;
line-height: 1.33;
font-size: 0.875rem;
line-height: 1.43;
}
.c4 {
@ -2545,8 +2545,8 @@ exports[`ADMIN | Pages | API TOKENS | EditView renders and matches the snapshot
.c6 {
color: #4945ff;
font-size: 0.75rem;
line-height: 1.33;
font-size: 0.875rem;
line-height: 1.43;
}
.c4 {

View File

@ -67,12 +67,4 @@ module.exports = [
],
},
},
{
method: 'GET',
path: '/api-token-layout',
handler: 'api-token.getLayout',
config: {
policies: ['admin::isAuthenticatedAdmin'],
},
},
];

View File

@ -248,6 +248,7 @@ describe('API Token', () => {
);
global.strapi = {
...getActionProvider(['admin::content.content.read']),
query() {
return {
findOne,