@xuda.io/ai_module 1.1.5416 → 1.1.5417
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.
- package/index.mjs +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -6140,7 +6140,7 @@ export const get_ai_workspace_pending_counts = async function (req, job_id, head
|
|
|
6140
6140
|
const account_profile_info = await get_active_account_profile_info(uid);
|
|
6141
6141
|
try {
|
|
6142
6142
|
let data = {};
|
|
6143
|
-
if (
|
|
6143
|
+
if (account_profile_info.is_main) {
|
|
6144
6144
|
const workspace_pending_counts_ret = await db_module.get_couch_view('xuda_team', 'pending_workspace_requests_count', {
|
|
6145
6145
|
startkey: [uid, ''],
|
|
6146
6146
|
endkey: [uid, 'zzzz'],
|