1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

fix: allow to create labels for aliased projects (resolve #231)

This commit is contained in:
Ferdinand Mütsch
2022-01-13 17:10:24 +01:00
parent 03b104a390
commit 67f0d19a65
6 changed files with 712 additions and 548 deletions

View File

@@ -21,6 +21,7 @@ type IAliasService interface {
IsInitialized(string) bool
InitializeUser(string) error
GetByUser(string) ([]*models.Alias, error)
GetByUserAndType(string, uint8) ([]*models.Alias, error)
GetByUserAndKeyAndType(string, string, uint8) ([]*models.Alias, error)
GetAliasOrDefault(string, uint8, string) (string, error)
}