fix: lint

This commit is contained in:
kolaente 2023-06-07 21:00:12 +02:00
parent ebfb3f9aaa
commit ad0690369f
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ func (s *SendTaskDeletedNotification) Handle(msg *message.Message) (err error) {
var subscribers []*Subscription
subscribers, err = getSubscribersForEntity(sess, SubscriptionEntityTask, event.Task.ID)
// If the task does not exist and no one has explicitely subscribed to it, we won't find any subscriptions for it.
// If the task does not exist and no one has explicitly subscribed to it, we won't find any subscriptions for it.
// Hence, we need to check for subscriptions to the parent project manually.
if err != nil && (IsErrTaskDoesNotExist(err) || IsErrProjectDoesNotExist(err)) {
subscribers, err = getSubscribersForEntity(sess, SubscriptionEntityProject, event.Task.ProjectID)