Fix field names, comments and nullables

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/17/head
trivernis 4 years ago
parent 8c35329e68
commit 123d8159da
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -45,7 +45,7 @@ export default {
return new GraphQLError('Insufficient Permissions');
}
},
timeframes: (_: any, { offset, limit }: { offset: number, limit: number }, { dataSources, req }: { dataSources: any, req: any }) => {
timeFrames: (_: any, { offset, limit }: { offset: number, limit: number }, { dataSources, req }: { dataSources: any, req: any }) => {
if (req.permissions.includes(Permission.ReadTimeFrame)) {
return dataSources.lendingStationAPI.timeFrames(offset, limit);
} else {

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save