Commit 9f245833 authored by Rafael S Castilho's avatar Rafael S Castilho
Browse files

Merge branch 'files_vinicius' into 'development'

Changed the name of files: rooms, schedules and current

See merge request !10
parents be1fe85d 3f521894
......@@ -94,7 +94,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
);
......@@ -213,7 +213,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
);
......@@ -245,7 +245,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