Skip to content

Commit

Permalink
fix(auth-callback): check row.setted_up in place of 'settep_up'
Browse files Browse the repository at this point in the history
  • Loading branch information
leomp12 committed Jun 30, 2020
1 parent fdc7035 commit e2a73ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/routes/ecom/auth-callback.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ exports.post = ({ appSdk }, req, res) => {
if (procedures.length) {
return appSdk.getAuth(storeId, authenticationId).then(auth => {
const { row, docRef } = auth
if (!row.settep_up) {
if (!row.setted_up) {
console.log(`Try saving procedures for store #${storeId}`)

// must save procedures once only
Expand Down

0 comments on commit e2a73ca

Please sign in to comment.