mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-24 14:45:36 +00:00
Fixed line endings
This commit is contained in:
parent
6cbddef627
commit
d798ebadfe
2 changed files with 1 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue