Tests[CreateProUser]

This commit is contained in:
2022-12-14 18:38:30 +01:00
parent 86f06a3c6a
commit 03b4acd13e
7 changed files with 202 additions and 15 deletions

View File

@@ -514,7 +514,7 @@ func (h APIHandler) ListChannels(g *gin.Context) ginresp.HTTPResponse {
UserID models.UserID `uri:"uid"`
}
type query struct {
Selector *string `json:"selector" form:"selector"`
Selector *string `json:"selector" form:"selector" enums:"owned,subscribed_any,all_any,subscribed,all"`
}
type response struct {
Channels []models.ChannelJSON `json:"channels"`