diff --git a/pruneall b/pruneall new file mode 100755 index 0000000..f8ad464 --- /dev/null +++ b/pruneall @@ -0,0 +1,4 @@ +sudo docker image prune +sudo docker container prune +sudo docker volume prune +sudo docker system prune --volumes \ No newline at end of file diff --git a/server/app.js b/server/app.js index 7255bac..9c788da 100644 --- a/server/app.js +++ b/server/app.js @@ -111,7 +111,7 @@ const ENDPOINTDATA=[ }, { endpoint:"builds", - requiredfields:["user_id","creator","build_name","class1","created_on","last_modified","data"], + requiredfields:["users_id","creator","build_name","class1","created_on","last_modified","data"], optionalfields:["class2","likes"], excludedfields:[] //Fields to not output in GET. }, @@ -165,7 +165,7 @@ const ENDPOINTDATA=[ }, { endpoint:"users", - requiredfields:["username","email","created_on","role_id"], + requiredfields:["username","email","created_on","roles_id"], optionalfields:["avatar"], excludedfields:["password_hash"] //Fields to not output in GET. }