mirror of
https://github.com/vcscsvcscs/GenerationsHeritage.git
synced 2025-08-14 14:59:07 +02:00
update openapi
This commit is contained in:
@@ -119,7 +119,7 @@ func (srv *server) GetManagedProfiles(c *gin.Context, params api.GetManagedProfi
|
||||
qctx, qCancel := context.WithTimeout(c.Request.Context(), srv.dbOpTimeout)
|
||||
defer qCancel()
|
||||
|
||||
res, err := session.ExecuteRead(qctx, memgraph.GetManagedProfiles(qctx, id))
|
||||
res, err := session.ExecuteRead(qctx, memgraph.GetManagedProfiles(qctx, params.XUserID))
|
||||
if err != nil {
|
||||
c.JSON(http.StatusInternalServerError, gin.H{"msg": err.Error()})
|
||||
|
||||
|
Reference in New Issue
Block a user