Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7df69021ea | ||
|
|
7a051aefa6 |
+5
-1
@@ -188,7 +188,11 @@ export async function interpolateProfiles(actorIdsOrNames, context, options = {}
|
||||
const transaction = await context.knex.transaction();
|
||||
|
||||
// clear existing interpolated data
|
||||
const emptyProfile = Object.fromEntries(columns.filter((key) => !preservedKeys.includes(key)).map((key) => [key, null]));
|
||||
const emptyProfile = {
|
||||
...Object.fromEntries(columns.filter((key) => !preservedKeys.includes(key)).map((key) => [key, null])),
|
||||
date_of_birth_precision: 'day',
|
||||
date_of_death_precision: 'day',
|
||||
};
|
||||
|
||||
await context.knex('actors')
|
||||
.modify((modifyBuilder) => {
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "traxxx-utils",
|
||||
"version": "1.3.6",
|
||||
"version": "1.3.7",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "traxxx-utils",
|
||||
"version": "1.3.6",
|
||||
"version": "1.3.7",
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"@babel/cli": "^7.25.7",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "traxxx-common",
|
||||
"version": "1.3.6",
|
||||
"version": "1.3.7",
|
||||
"description": "Common utilities for traxxx core and web.",
|
||||
"main": "src/app.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user