refactor: Remove redundant appConfigId from get auth clients mock

This commit is contained in:
Faruk AYDIN
2024-03-26 21:27:38 +01:00
parent 186160ebf4
commit 01ae96840e
2 changed files with 1 additions and 6 deletions

View File

@@ -6,10 +6,6 @@ export async function up(knex) {
export async function down(knex) {
await knex.schema.table('app_auth_clients', (table) => {
table
.uuid('app_config_id')
.notNullable()
.references('id')
.inTable('app_configs');
table.uuid('app_config_id').references('id').inTable('app_configs');
});
}

View File

@@ -1,7 +1,6 @@
const getAppAuthClientsMock = (appAuthClients) => {
return {
data: appAuthClients.map((appAuthClient) => ({
appConfigId: appAuthClient.appConfigId,
name: appAuthClient.name,
id: appAuthClient.id,
active: appAuthClient.active,