From e9017767d1d72d5f00cdbd0fcf57cc2b3617bf59 Mon Sep 17 00:00:00 2001 From: mr Date: Thu, 23 Jan 2025 11:31:56 +0100 Subject: [PATCH] light modification --- models/collaborative_area/collaborative_area_mongo_accessor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/collaborative_area/collaborative_area_mongo_accessor.go b/models/collaborative_area/collaborative_area_mongo_accessor.go index 4febb6e..666e644 100644 --- a/models/collaborative_area/collaborative_area_mongo_accessor.go +++ b/models/collaborative_area/collaborative_area_mongo_accessor.go @@ -73,7 +73,7 @@ func (a *collaborativeAreaMongoAccessor) StoreOne(data utils.DBObject) (utils.DB }}, "", true) fmt.Println(dd, code, err) if code != 200 || dd == nil { - return nil, code, errors.New("Could not retrieve the peer") + return nil, code, errors.New("could not retrieve the peer") } data.(*CollaborativeArea).CollaborativeAreaRule.Creator = dd[0].GetID() d, code, err := utils.GenericStoreOne(data.(*CollaborativeArea).Trim(), a)