This commit is contained in:
Benjamin Toby 2024-12-11 05:50:22 +01:00
parent ad16e42a6c
commit 051c8816e9
3 changed files with 9 additions and 7 deletions

View File

@ -37,13 +37,11 @@
},
{
"fieldName": "image",
"dataType": "VARCHAR(250)",
"defaultValue": "/images/user-preset.png"
"dataType": "VARCHAR(250)"
},
{
"fieldName": "image_thumbnail",
"dataType": "VARCHAR(250)",
"defaultValue": "/images/user-preset-thumbnail.png"
"dataType": "VARCHAR(250)"
},
{
"fieldName": "address",

View File

@ -128,8 +128,12 @@ module.exports = async function apiCreateUser({
tableName: "users",
data: {
...payload,
image: "/images/user-preset.png",
image_thumbnail: "/images/user-preset-thumbnail.png",
image:
process.env.DSQL_DEFAULT_USER_IMAGE ||
"/images/user-preset.png",
image_thumbnail:
process.env.DSQL_DEFAULT_USER_IMAGE ||
"/images/user-preset-thumbnail.png",
},
useLocal,
});

View File

@ -1,6 +1,6 @@
{
"name": "@moduletrace/datasquirel",
"version": "2.9.6",
"version": "2.9.7",
"description": "Cloud-based SQL data management tool",
"main": "index.js",
"bin": {