Skip to content
This repository was archived by the owner on May 28, 2023. It is now read-only.

Commit 1a35f9b

Browse files
pkarwpatzick
authored andcommitted
merge d1532f7
1 parent 8b60f8d commit 1a35f9b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/api/product.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { apiStatus, sgnSrc } from '../lib/util';
1+
import { apiStatus, sgnSrc, apiError } from '../lib/util';
22
import { Router } from 'express';
33
import PlatformFactory from '../platform/factory';
44

src/api/user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export default ({config, db}) => {
7676
apiError(res, err);
7777
})
7878
} else {
79-
apiStatus(res, result, 200, {refreshToken: encryptToken(jwt.encode(req.body, config.authHashSecret ? config.authHashSecret : config.objHashSecret), config.authHashSecret ? config.authHashSecret : config.objHashSecret)});
79+
apiStatus(res, result, 200, {refreshToken: encryptToken(jwt.encode(req.body, config.authHashSecret ? config.authHashSecret : config.objHashSecret), config.authHashSecret ? config.authHashSecret : config.objHashSecret)});
8080
}
8181
}).catch(err => {
8282
apiError(res, err);

0 commit comments

Comments
 (0)