Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nono committed Jan 2, 2025
1 parent 9d13b66 commit a374ea4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions model/sharing/invitation.go
Original file line number Diff line number Diff line change
Expand Up @@ -372,13 +372,13 @@ func (s *Sharing) SendShortcutPush(inst *instance.Instance, fileDoc *vfs.FileDoc
if err != nil {
return err
}
hasFlashship := false
hasFlagship := false
for _, notifiable := range notifiables {
if notifiable.Flagship {
hasFlashship = true
hasFlagship = true
}
}
if !hasFlashship {
if !hasFlagship {
return nil
}

Expand Down

0 comments on commit a374ea4

Please sign in to comment.