+ core service; config update

This commit is contained in:
tmshv committed 2016-03-23 12:48:04 +03:00
1 parent 499ecad952
commit 96daac15ba
2 files changed
+10 -4

No files matched your search

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