Compare commits
3 Commits
0e8282169c
...
40011a62da
| Author | SHA1 | Date | |
|---|---|---|---|
| 40011a62da | |||
| 43db15e017 | |||
| 697cd5d5c2 |
@@ -134,7 +134,7 @@ function mergeMainProfile(profile, mainProfile) {
|
||||
return mergedProfile;
|
||||
}
|
||||
|
||||
async function interpolateProfiles(actorIdsOrNames, context) {
|
||||
export async function interpolateProfiles(actorIdsOrNames, context) {
|
||||
const profiles = await fetchProfiles(actorIdsOrNames, context);
|
||||
|
||||
const profilesByActorId = profiles.reduce((acc, profile) => ({
|
||||
@@ -295,7 +295,3 @@ async function interpolateProfiles(actorIdsOrNames, context) {
|
||||
|
||||
await context.knex.schema.refreshMaterializedView('actors_meta');
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
interpolateProfiles,
|
||||
};
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "traxxx-utils",
|
||||
"version": "1.2.1",
|
||||
"version": "1.2.2",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "traxxx-utils",
|
||||
"version": "1.2.1",
|
||||
"version": "1.2.2",
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"@babel/cli": "^7.25.7",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "traxxx-common",
|
||||
"version": "1.2.1",
|
||||
"version": "1.2.2",
|
||||
"description": "Common utilities for traxxx core and web.",
|
||||
"main": "src/app.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user