Updates
This commit is contained in:
parent
ad16e42a6c
commit
051c8816e9
@ -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",
|
||||
|
@ -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,
|
||||
});
|
||||
|
@ -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": {
|
||||
|
Loading…
Reference in New Issue
Block a user