mirror of
https://github.com/strapi/strapi.git
synced 2025-08-05 15:29:04 +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 {
|
.c6 {
|
||||||
color: #4945ff;
|
color: #4945ff;
|
||||||
font-size: 0.75rem;
|
font-size: 0.875rem;
|
||||||
line-height: 1.33;
|
line-height: 1.43;
|
||||||
}
|
}
|
||||||
|
|
||||||
.c4 {
|
.c4 {
|
||||||
@ -2545,8 +2545,8 @@ exports[`ADMIN | Pages | API TOKENS | EditView renders and matches the snapshot
|
|||||||
|
|
||||||
.c6 {
|
.c6 {
|
||||||
color: #4945ff;
|
color: #4945ff;
|
||||||
font-size: 0.75rem;
|
font-size: 0.875rem;
|
||||||
line-height: 1.33;
|
line-height: 1.43;
|
||||||
}
|
}
|
||||||
|
|
||||||
.c4 {
|
.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 = {
|
global.strapi = {
|
||||||
|
...getActionProvider(['admin::content.content.read']),
|
||||||
query() {
|
query() {
|
||||||
return {
|
return {
|
||||||
findOne,
|
findOne,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user