Skip to content

Commit

Permalink
Update Pocket application token
Browse files Browse the repository at this point in the history
  • Loading branch information
davkal committed Dec 26, 2018
1 parent 0e0b68a commit fa5faa3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/api.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const CONSUMER_KEY = '82860-e81d1ec70aa1fa4436e6bdd2';
3 changes: 2 additions & 1 deletion src/config_ctrl.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const CONSUMER_KEY = '82803-cce6405411edc8c15749f418';
import {CONSUMER_KEY} from './api';

const POCKET_URL = 'https://getpocket.com';

function getRequestToken(): string {
Expand Down
2 changes: 1 addition & 1 deletion src/datasource.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import _ from 'lodash';

import {CONSUMER_KEY} from './api';
import {getTimeSeriesFromResponse} from './resultTransformations';

const CACHE_EXPIRATION = 1000 * 60 * 60; // 1h in millies
const CONSUMER_KEY = '82803-cce6405411edc8c15749f418';

export default class PocketDatasource {
type: string;
Expand Down

0 comments on commit fa5faa3

Please sign in to comment.