This repository was archived by the owner on Jun 27, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ module.exports = (seederstore) => {
32
32
template : {
33
33
title : 'Data Privacy' ,
34
34
type : 'dataPrivacy' ,
35
- key : 'data- privacy' ,
35
+ key : 'privacy' ,
36
36
content : '<strong>ADD PRIVACY POLICY!</strong>' ,
37
37
language : 'en'
38
38
}
@@ -42,7 +42,7 @@ module.exports = (seederstore) => {
42
42
template : {
43
43
title : 'Datenschutzerklärung' ,
44
44
type : 'dataPrivacy' ,
45
- key : 'data- privacy' ,
45
+ key : 'privacy' ,
46
46
content : '<strong>FÜGE DATENSCHUTZRICHTLINIEN HINZU!</strong>' ,
47
47
language : 'de'
48
48
}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ module.exports = () => {
7
7
try {
8
8
return await hook . app . service ( service ) . remove ( null , { query} ) ;
9
9
} catch ( err ) {
10
- console . log ( 'ERROR ON SERVICE' , service ) ;
10
+ hook . app . error ( 'ERROR ON SERVICE' + service ) ;
11
11
throw new errors . GeneralError ( err . message ) ;
12
12
}
13
13
}
@@ -24,8 +24,6 @@ module.exports = () => {
24
24
25
25
const query = hook . params . query ;
26
26
27
- let res ;
28
-
29
27
if ( query . deleteContributions === true ) {
30
28
await deleteData ( 'contributions' , {
31
29
userId : user . _id ,
You can’t perform that action at this time.
0 commit comments