Skip to content

Commit

Permalink
Tidying
Browse files Browse the repository at this point in the history
  • Loading branch information
adrinr committed Sep 3, 2024
1 parent 2667238 commit 52283e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/server/src/api/routes/tests/viewV2.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1238,11 +1238,11 @@ describe.each([

const renameColumn = async (table: Table, renaming: RenameColumn) => {
const newSchema = { ...table.schema }
;(newSchema[renaming.updated] = {
newSchema[renaming.updated] = {
...table.schema[renaming.old],
name: renaming.updated,
}),
delete newSchema[renaming.old]
}
delete newSchema[renaming.old]

await config.api.table.save({
...table,
Expand Down

0 comments on commit 52283e0

Please sign in to comment.