update
This commit is contained in:
1 parent
d7a4486b35
commit
144e69e6c4
7 files changed
+14
-81
No files matched your search
+3
-3
@@ -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;
|
||||
Reference in new issue
Block a user