mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Follow component directory strucutre in backend
This commit is contained in:
parent
f5cf3d9b68
commit
23a461d16e
@ -11,7 +11,7 @@ import userMiddleware from './userMiddleware'
|
|||||||
import includedFieldsMiddleware from './includedFieldsMiddleware'
|
import includedFieldsMiddleware from './includedFieldsMiddleware'
|
||||||
import orderByMiddleware from './orderByMiddleware'
|
import orderByMiddleware from './orderByMiddleware'
|
||||||
import validUrlMiddleware from './validUrlMiddleware'
|
import validUrlMiddleware from './validUrlMiddleware'
|
||||||
import notificationsMiddleware from './notificationsMiddleware'
|
import notificationsMiddleware from './notifications'
|
||||||
|
|
||||||
export default schema => {
|
export default schema => {
|
||||||
let middleware = [
|
let middleware = [
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { extractSlugs } from './notifications/mentions'
|
import { extractSlugs } from './mentions'
|
||||||
|
|
||||||
const notify = async (resolve, root, args, context, resolveInfo) => {
|
const notify = async (resolve, root, args, context, resolveInfo) => {
|
||||||
const post = await resolve(root, args, context, resolveInfo)
|
const post = await resolve(root, args, context, resolveInfo)
|
||||||
@ -1,6 +1,6 @@
|
|||||||
import Factory from '../seed/factories'
|
|
||||||
import { GraphQLClient } from 'graphql-request'
|
import { GraphQLClient } from 'graphql-request'
|
||||||
import { host, login } from '../jest/helpers'
|
import { host, login } from '../../jest/helpers'
|
||||||
|
import Factory from '../../seed/factories'
|
||||||
|
|
||||||
const factory = Factory()
|
const factory = Factory()
|
||||||
let client
|
let client
|
||||||
Loading…
x
Reference in New Issue
Block a user