mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-09-17 20:10:55 +02:00
applied lint typo fixes
This commit is contained in:
@@ -36,7 +36,7 @@ type TaggedHook[T Tagger] struct {
|
||||
// CanTriggerOn checks if the current TaggedHook can be triggered with
|
||||
// the provided event data tags.
|
||||
//
|
||||
// It returns always true if the hook doens't have any tags.
|
||||
// It returns always true if the hook doesn't have any tags.
|
||||
func (h *TaggedHook[T]) CanTriggerOn(tagsToCheck []string) bool {
|
||||
if len(h.tags) == 0 {
|
||||
return true // match all
|
||||
|
||||
Reference in New Issue
Block a user