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 = {
};
};
console.log("Fetching user data as user",context.user);
const result = resolverFuncs.renseignerSurUtilisateur(context.user, args.uid).then(res => {
const output = res.map(entry => refactorer(entry));
return output;
......@@ -55,6 +53,10 @@ const resolvers = {
return result;
},
allPosts: (obj, args, context) => {
},
searchTOL: (obj, args, context) => {
console.log(args);
return resolverFuncs.repliquerTOLdesIds(context.user, {
......
......@@ -155,7 +155,7 @@ const Requests = `
type Requests {
userJoin: [userJoinGroup]
eventJoin: [groupJoinEvent]
hostEvent: [groupHostEvent]
hostEvent: [yourGroupHostEvent]
}
type userJoinGroup {
......@@ -168,7 +168,7 @@ const Requests = `
}
# Demande au récipiendaire de rejoindre l'organisation d'un événement.
type youHostEvent {
type yourGroupHostEvent {
event: Event
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