Skip to content

Commit 60a8ab0

Browse files
committed
Move user repository to users folder
1 parent d4be186 commit 60a8ab0

File tree

4 files changed

+2
-1
lines changed

4 files changed

+2
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const { apiKey, organization } = require('./challonge');
88
const region = require('./aws-region');
99
const challongeServiceFactory = R.applySpec(require('./src/challonge.service'));
1010
const handlersFactory = R.applySpec(require('./src/handlers'));
11-
const userRepositoryFactory = R.applySpec(require('./src/user.repository'));
11+
const userRepositoryFactory = R.applySpec(require('./src/users').repository);
1212

1313
const api = axios.create({
1414
baseURL: 'https://api.challonge.com/v1/',

src/users/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
module.exports = {
33
handlers: require('./handlers'),
44
validation: require('./validation'),
5+
repository: require('./user.repository'),
56
};
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)