oclib
This commit is contained in:
@@ -19,7 +19,7 @@ type PeerController struct {
|
||||
// @Success 200 {workspace} models.workspace
|
||||
// @router /search/:search [get]
|
||||
func (o *PeerController) Search() {
|
||||
// store and return Id or post with UUID
|
||||
// store and return Id or post with UUIDLibDataEnum
|
||||
search := o.Ctx.Input.Param(":search")
|
||||
o.Data["json"] = oclib.Search(nil, search, oclib.LibDataEnum(oclib.PEER))
|
||||
o.ServeJSON()
|
||||
|
||||
Reference in New Issue
Block a user