Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Dias committed Aug 23, 2018
1 parent d11999f commit 99a093f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions node/resolvers/session/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ export const mutations = {

/**
* Impersonate a customer and set clientProfileData in OrderForm
* @param email
* @param orderFormId
* @param args this mutation receives email and orderFormId
* @return Session
*/
impersonate: async (_, args, config) => {
Expand All @@ -90,7 +89,7 @@ export const mutations = {

/**
* Depersonify a customer and set clientProfileData to anonymous user.
* @param orderFormId
* @param args this mutation receives orderFormId
*/
depersonify: async (_, args, config) => {
await makeRequest(_, args, config, paths.session, impersonateData(''), 'PATCH')
Expand Down

0 comments on commit 99a093f

Please sign in to comment.