Commit 3f521894 authored by vgm18's avatar vgm18
Browse files

Changed the name of files: rooms, schedules and current

parent 0218b69b
......@@ -74,7 +74,7 @@ class RoomColection{
}
getFilePath(){
var file_name = "rooms_"+this.id+".yaml";
var file_name = "rooms.yaml";
var file_path = path.resolve(
__dirname+'/ensalador_executions/', file_name
);
......@@ -191,7 +191,7 @@ class ScheduleCollection{
}
getFilePath(){
var file_name = "schedules_"+this.id+".yaml";
var file_name = "schedules.yaml";
var file_path = path.resolve(
__dirname+'/ensalador_executions/', file_name
);
......@@ -223,7 +223,7 @@ class ScheduleCollection{
class CurrentSchedule extends ScheduleCollection{
getFilePath(){
var file_name = "current_"+this.id+".yaml";
var file_name = "current.yaml";
var file_path = path.resolve(
__dirname+'/ensalador_executions/', file_name
);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment