Skip to content

Commit bcd7929

Browse files
committed
fix docs
1 parent ce24a61 commit bcd7929

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/models/eventsFactory.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ class EventsFactory extends Factory {
554554
/**
555555
* Get a release from corresponding to this event
556556
*
557-
* @param {string} groupHash - hash of event to get the release
557+
* @param {string} eventId - id of event to get the release
558558
* @returns {Release|null}
559559
*/
560560
async getEventRelease(eventId) {
@@ -641,7 +641,7 @@ class EventsFactory extends Factory {
641641
/**
642642
* Mark or unmark event as Resolved, Ignored or Starred
643643
*
644-
* @param {string|ObjectId} groupHash - event to mark
644+
* @param {string|ObjectId} eventId - event to mark
645645
* @param {string} mark - mark label
646646
*
647647
* @return {Promise<void>}

src/resolvers/event.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ module.exports = {
128128
*
129129
* @param {ResolverObj} _obj - resolver context
130130
* @param {string} project - project id
131-
* @param {string} groupHash - event id
131+
* @param {string} id - event id
132132
* @param {string} mark - mark to set
133133
* @return {Promise<boolean>}
134134
*/

src/typeDefs/event.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ input UpdateAssigneeInput {
339339
projectId: ID!
340340
341341
"""
342-
Event id
342+
ID of the selected event
343343
"""
344344
eventId: ID!
345345

0 commit comments

Comments
 (0)