This commit is contained in:
mr
2024-11-07 13:39:45 +01:00
parent e4c5d3bed6
commit f41b4c6780
3 changed files with 13 additions and 2 deletions

View File

@@ -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()