From bddcc84fbac629f8d4126739f05898f4293a6710 Mon Sep 17 00:00:00 2001 From: Trivernis Date: Sat, 28 Dec 2019 23:29:02 +0100 Subject: [PATCH] Fixed denyRequest - fixed mutation denyRequest requiring the wrong params - updated changelog --- CHANGELOG.md | 29 +++++++++++++++++++++++++++++ src/graphql/schema.graphql | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8393828..4aa5c74 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,35 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Added + +- settings field to own user data to store frontend settings +- Jenkinsfile +- Mocha Tests +- worker initialization error handling +- bearer token authentification for testing purposes + +### Removed + +- special worker logging + +### Changed + +- changed the running behaviour to run in cluster threads via node.js cluster api +- gql field userVote requires a userId +- default findUser param limit to 20 + +### Fixed + +- sequelize initialization being logged without winston +- userVote is always null (#47) +- findUser not being implemented +- style issues +- graphql schema for denyRequest using the wrong parameters + + ## [0.9] - 2019-10-29 ### Added diff --git a/src/graphql/schema.graphql b/src/graphql/schema.graphql index 51210e0..58e9b03 100644 --- a/src/graphql/schema.graphql +++ b/src/graphql/schema.graphql @@ -59,7 +59,7 @@ type Mutation { acceptRequest(sender: ID!, type: RequestType): Boolean "lets you deny a request for a given request id" - denyRequest(requestId: ID!): Boolean + denyRequest(sender: ID!, type: RequestType): Boolean "removes a friend" removeFriend(friendId: ID!): Boolean