mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-05-23 07:17:37 +02:00
Rename Topic to TopicPattern in Grant
This commit is contained in:
parent
c56814e7da
commit
936e95fd9e
3 changed files with 10 additions and 10 deletions
auth
|
@ -280,9 +280,9 @@ func (a *SQLiteAuth) readGrants(username string) ([]Grant, error) {
|
|||
return nil, err
|
||||
}
|
||||
grants = append(grants, Grant{
|
||||
Topic: fromSQLWildcard(topic),
|
||||
Read: read,
|
||||
Write: write,
|
||||
TopicPattern: fromSQLWildcard(topic),
|
||||
Read: read,
|
||||
Write: write,
|
||||
})
|
||||
}
|
||||
return grants, nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue