Skip to content

Commit

Permalink
Merge branch 'master' into hotfix-husky
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeevans1995 authored Nov 25, 2020
2 parents dd43828 + 99fcf23 commit 92b3f53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/serverless-queue/src/models/queue-job.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class QueueJobModel extends BaseModel implements QueueJobAttributes {
public createdAt!: Date;
public updatedAt!: Date;

public static associate(models: Omit<QueueModels, "currentUser" | "sequelize">): void {
public static associate<M extends QueueModels = QueueModels>(models: M): void {
if (models[ "QueueError" ]) {
this.hasMany(models[ "QueueError" ]);
}
Expand Down

0 comments on commit 92b3f53

Please sign in to comment.