This commit is contained in:
tmshv committed 2016-08-04 23:46:59 +03:00
1 parent d7a4486b35
commit 144e69e6c4
7 files changed
+14 -81

No files matched your search

+3 -3
View File
@@ -1,8 +1,8 @@
import {instagramToken} from '../config';
const services = {
export const services = {
instagram: instagramToken
};
export const checkAuth = (name, token) => name in services && services[name] === token;
export const checkAuth = (name, token) => name in services && services[name] === token;
export const authChecker = store => (name, token) => name in store && store[name] === token;