tango-app-api-task 3.7.34 → 3.7.35
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/package.json
CHANGED
|
@@ -7223,7 +7223,7 @@ export async function AITaskCreation( req, res ) {
|
|
|
7223
7223
|
}
|
|
7224
7224
|
stores = Array.from( storeIds );
|
|
7225
7225
|
}
|
|
7226
|
-
if ( stores.includes( storeData.storeId ) ) {
|
|
7226
|
+
if ( stores.includes( storeData.storeId ) || userDetails.role === 'superadmin' ) {
|
|
7227
7227
|
finduser.push( user );
|
|
7228
7228
|
}
|
|
7229
7229
|
}
|