mirror of
https://github.com/strapi/strapi.git
synced 2025-08-04 23:03:00 +00:00
Merge branch 'features/api-token-v2' into api-token-v2/cleanup-content-api-core-service
This commit is contained in:
commit
7eded0ab7b
@ -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 {
|
||||
|
@ -67,12 +67,4 @@ module.exports = [
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/api-token-layout',
|
||||
handler: 'api-token.getLayout',
|
||||
config: {
|
||||
policies: ['admin::isAuthenticatedAdmin'],
|
||||
},
|
||||
},
|
||||
];
|
||||
|
@ -248,6 +248,7 @@ describe('API Token', () => {
|
||||
);
|
||||
|
||||
global.strapi = {
|
||||
...getActionProvider(['admin::content.content.read']),
|
||||
query() {
|
||||
return {
|
||||
findOne,
|
||||
|
Loading…
x
Reference in New Issue
Block a user