7525-devToTest #2542

Merged
alexm merged 231 commits from 7525-devToTest into test 2024-06-04 07:59:34 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit d884192066 - Show all commits

View File

@ -94,7 +94,7 @@ module.exports = Self => {
* @return {Promise} - The request promise
*/
Self.sendMessage = async function sendMessage(senderFk, recipient, message) {
if (!Self.app.models.Application.isProduction()) {
if (!Self.app.models.Application.isProduction(false)) {
return new Promise(resolve => {
return resolve({
statusCode: 200,
@ -149,7 +149,7 @@ module.exports = Self => {
* @return {Promise} - The request promise
*/
Self.getUserStatus = async function getUserStatus(username) {
if (!Self.app.models.Application.isProduction()) {
if (!Self.app.models.Application.isProduction(false)) {
return new Promise(resolve => {
return resolve({
data: {