update openapi

This commit is contained in:
2025-04-10 21:11:38 +02:00
parent 4a00cac333
commit e40e306faa
3 changed files with 5 additions and 5 deletions

View File

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

View File

@@ -353,8 +353,8 @@ type CreateRecipeRelationshipParams struct {
// CreateRelationshipJSONBody defines parameters for CreateRelationship.
type CreateRelationshipJSONBody struct {
Id1 *string `json:"id1,omitempty"`
Id2 *string `json:"id2,omitempty"`
Id1 *int `json:"id1,omitempty"`
Id2 *int `json:"id2,omitempty"`
Relationship *FamilyRelationship `json:"relationship,omitempty"`
Type *CreateRelationshipJSONBodyType `json:"type,omitempty"`
}