Skip to content

Commit

Permalink
PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
j-berman committed Jan 31, 2020
1 parent 6539eff commit de9d6d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/proof-of-concept/client/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import dbLogic from './components/Dashboard/logic'
import Dashboard from './components/Dashboard/Dashboard'
import UserForm from './components/User/UserForm'

const APP_ID = 'a87131a7-1c8a-4fea-ab16-ff98dbaeb5f8'
const APP_ID = 'poc-id'

export default class App extends Component {
constructor(props) {
Expand Down
3 changes: 2 additions & 1 deletion src/userbase-server/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,8 @@ const createAccessToken = async function (adminId) {
TableName: setup.adminAccessTokensTableName,
Item: {
'admin-id': adminId,
'access-token': accessToken
'access-token': accessToken,
'creation-date': new Date().toISOString()
},
ConditionExpression: 'attribute_not_exists(#adminId)',
ExpressionAttributeNames: {
Expand Down

0 comments on commit de9d6d9

Please sign in to comment.