feat: Implement admin get app auth clients API endpoint
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import AppConfig from '../../src/models/app-config.js';
|
||||
import { faker } from '@faker-js/faker';
|
||||
|
||||
export const createAppConfig = async (params = {}) => {
|
||||
params.key = params?.key || 'gitlab';
|
||||
params.key = params?.key || faker.lorem.word();
|
||||
|
||||
const appConfig = await AppConfig.query().insertAndFetch(params);
|
||||
|
||||
|
Reference in New Issue
Block a user