biz9-logic 4.8.141 → 4.8.144

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/biz9_config +1 -1
  2. package/index.js +8 -3
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='6.2.1'
1
+ VERSION='6.2.4'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -1116,7 +1116,7 @@ class Review_Logic {
1116
1116
  return DataItem.get_new(DataType.REVIEW,0,{
1117
1117
  parent_data_type:parent_data_type,
1118
1118
  parent_id:parent_id,
1119
- user_id:user.id,
1119
+ user_id:user_id,
1120
1120
 
1121
1121
  title:title ? title : "",
1122
1122
  comment:comment ? comment : "",
@@ -1472,8 +1472,12 @@ class Gallery_Url {
1472
1472
  };
1473
1473
  }
1474
1474
  class User_Url {
1475
- static search = (biz9_config,params) => {
1476
- let action_url="user/search";
1475
+ static register = (biz9_config,params) => {
1476
+ let action_url="user/register";
1477
+ return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,params);
1478
+ };
1479
+ static login = (biz9_config,params) => {
1480
+ let action_url="user/login";
1477
1481
  return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,params);
1478
1482
  };
1479
1483
  }
@@ -1958,6 +1962,7 @@ class User_Logic {
1958
1962
  user.email="email"+ Number.get_id() + "@email.com";
1959
1963
  user.city="City"+ Number.get_id();
1960
1964
  user.state="State"+ Number.get_id();
1965
+ user.password="1234567";
1961
1966
  user.country="United States";
1962
1967
  return user;
1963
1968
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.8.141",
3
+ "version": "4.8.144",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"