mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
Fixed line endings
This commit is contained in:
@@ -2,7 +2,6 @@ import {
|
||||
createAndPopulateGroup,
|
||||
translate as t,
|
||||
} from '../../../../../helpers/api-integration/v3';
|
||||
import { v4 as generateUUID } from 'uuid';
|
||||
import { find } from 'lodash';
|
||||
|
||||
describe('GET /approvals/group/:groupId', () => {
|
||||
|
||||
@@ -325,7 +325,7 @@ api.scoreTask = {
|
||||
task.approvalRequestedDate = new Date();
|
||||
|
||||
let group = await Group.getGroup({user, groupId: task.group.id, fields: requiredGroupFields});
|
||||
let groupLeader = await User.findById(group.leader); //Use this method so we can get access to notifications
|
||||
let groupLeader = await User.findById(group.leader); // Use this method so we can get access to notifications
|
||||
groupLeader.addNotification('GROUP', {
|
||||
message: res.t('userHasRequestedTaskApproval', {
|
||||
user: user.auth.local.username,
|
||||
|
||||
Reference in New Issue
Block a user