Commit f2643598 authored by Guillermo Sanz López's avatar Guillermo Sanz López
Browse files

mock users

parent 968af4d8
Loading
Loading
Loading
Loading
+14 −2
Original line number Diff line number Diff line
@@ -368,8 +368,20 @@ class Operations:
                ]}, 
                {"_id": 0})

            return jsonify(message="Events retrieved succesfully",
                           object=user), 200
            json_user = [
                {
                    "fullName": "Fogus",
                    "info": "This is provider",
                },
                {
                    "fullName": "OWOs",
                    "info": "This is provider",
                }
            ]

            return jsonify(json_user), 200
            #return jsonify(message="Events retrieved succesfully",
            #               object=user), 200

        except Exception as e:
            return "Error when retreiving event: ", e