(ctx *gin.Context, serviceId string, appId string)
| 13 | } |
| 14 | |
| 15 | func (i *imlAPIKeyController) MyAPIKeysByService(ctx *gin.Context, serviceId string, appId string) ([]*system_apikey_dto.AuthorizationItem, error) { |
| 16 | if serviceId != "" { |
| 17 | return i.apikeyModule.MyAPIKeysByService(ctx, serviceId) |
| 18 | } |
| 19 | if appId != "" { |
| 20 | return i.apikeyModule.MyAPIKeysByApp(ctx, appId) |
| 21 | } |
| 22 | return nil, nil |
| 23 | } |
| 24 | |
| 25 | func (i *imlAPIKeyController) MyAPIKeys(ctx *gin.Context) ([]*system_apikey_dto.SimpleItem, error) { |
| 26 | return i.apikeyModule.MyAPIKeys(ctx) |
nothing calls this directly
no test coverage detected