mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
FYI: @Tirokk I think we'll never remove or add new badges through graphql. Instead, we will seed them manually with direct access to the database. Therefore I removed the respective mutations and also your tests regarding permissions.
10 lines
219 B
JavaScript
10 lines
219 B
JavaScript
import { neo4jgraphql } from 'neo4j-graphql-js'
|
|
|
|
export default {
|
|
Query: {
|
|
Badge: async (object, args, context, resolveInfo) => {
|
|
return neo4jgraphql(object, args, context, resolveInfo, false)
|
|
},
|
|
},
|
|
}
|