Skip to content
Snippets Groups Projects
Commit e8b3545c authored by Wilson JALLET's avatar Wilson JALLET :money_with_wings:
Browse files

Fix'd

parent 9803fc32
No related branches found
No related tags found
No related merge requests found
...@@ -45,8 +45,6 @@ const resolvers = { ...@@ -45,8 +45,6 @@ const resolvers = {
}; };
}; };
console.log("Fetching user data as user",context.user);
const result = resolverFuncs.renseignerSurUtilisateur(context.user, args.uid).then(res => { const result = resolverFuncs.renseignerSurUtilisateur(context.user, args.uid).then(res => {
const output = res.map(entry => refactorer(entry)); const output = res.map(entry => refactorer(entry));
return output; return output;
...@@ -55,6 +53,10 @@ const resolvers = { ...@@ -55,6 +53,10 @@ const resolvers = {
return result; return result;
}, },
allPosts: (obj, args, context) => {
},
searchTOL: (obj, args, context) => { searchTOL: (obj, args, context) => {
console.log(args); console.log(args);
return resolverFuncs.repliquerTOLdesIds(context.user, { return resolverFuncs.repliquerTOLdesIds(context.user, {
......
...@@ -155,7 +155,7 @@ const Requests = ` ...@@ -155,7 +155,7 @@ const Requests = `
type Requests { type Requests {
userJoin: [userJoinGroup] userJoin: [userJoinGroup]
eventJoin: [groupJoinEvent] eventJoin: [groupJoinEvent]
hostEvent: [groupHostEvent] hostEvent: [yourGroupHostEvent]
} }
type userJoinGroup { type userJoinGroup {
...@@ -168,7 +168,7 @@ const Requests = ` ...@@ -168,7 +168,7 @@ const Requests = `
} }
# Demande au récipiendaire de rejoindre l'organisation d'un événement. # Demande au récipiendaire de rejoindre l'organisation d'un événement.
type youHostEvent { type yourGroupHostEvent {
event: Event event: Event
recipient: Group recipient: Group
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment