Skip to content

Commit

Permalink
fix(get-customer): fixing get methods names and handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
leomp12 committed Aug 22, 2019
1 parent fb1eade commit 651fd3c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/methods/get-customer-name.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { nickname } from '@ecomplus/utils'

export default self => nickname(self.getCusomerObject())
1 change: 1 addition & 0 deletions src/methods/get-customer-object.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default self => self.session.customer || {}

0 comments on commit 651fd3c

Please sign in to comment.