Updates
This commit is contained in:
parent
ad16e42a6c
commit
051c8816e9
@ -37,13 +37,11 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldName": "image",
|
"fieldName": "image",
|
||||||
"dataType": "VARCHAR(250)",
|
"dataType": "VARCHAR(250)"
|
||||||
"defaultValue": "/images/user-preset.png"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldName": "image_thumbnail",
|
"fieldName": "image_thumbnail",
|
||||||
"dataType": "VARCHAR(250)",
|
"dataType": "VARCHAR(250)"
|
||||||
"defaultValue": "/images/user-preset-thumbnail.png"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldName": "address",
|
"fieldName": "address",
|
||||||
|
@ -128,8 +128,12 @@ module.exports = async function apiCreateUser({
|
|||||||
tableName: "users",
|
tableName: "users",
|
||||||
data: {
|
data: {
|
||||||
...payload,
|
...payload,
|
||||||
image: "/images/user-preset.png",
|
image:
|
||||||
image_thumbnail: "/images/user-preset-thumbnail.png",
|
process.env.DSQL_DEFAULT_USER_IMAGE ||
|
||||||
|
"/images/user-preset.png",
|
||||||
|
image_thumbnail:
|
||||||
|
process.env.DSQL_DEFAULT_USER_IMAGE ||
|
||||||
|
"/images/user-preset-thumbnail.png",
|
||||||
},
|
},
|
||||||
useLocal,
|
useLocal,
|
||||||
});
|
});
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@moduletrace/datasquirel",
|
"name": "@moduletrace/datasquirel",
|
||||||
"version": "2.9.6",
|
"version": "2.9.7",
|
||||||
"description": "Cloud-based SQL data management tool",
|
"description": "Cloud-based SQL data management tool",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
Loading…
Reference in New Issue
Block a user