Skip to content
Snippets Groups Projects

Mapdrawing replay

Merged Ghost User requested to merge mapdrawing-replay into Development
1 file
+ 2
0
Compare changes
  • Side-by-side
  • Inline
+ 2
0
@@ -34,6 +34,7 @@ export class DrawService {
@@ -34,6 +34,7 @@ export class DrawService {
data: data.data,
data: data.data,
drawingIsActive: data.drawingIsActive,
drawingIsActive: data.drawingIsActive,
mapdrawing: mapDrawing.identifiers[0]['mapDrawingId'],
mapdrawing: mapDrawing.identifiers[0]['mapDrawingId'],
 
timestamp: Date.now(),
});
});
await this.mapDrawHistoryRepository.insert(history);
await this.mapDrawHistoryRepository.insert(history);
return mapDrawing.identifiers;
return mapDrawing.identifiers;
@@ -49,6 +50,7 @@ export class DrawService {
@@ -49,6 +50,7 @@ export class DrawService {
data: data.data,
data: data.data,
drawingIsActive: data.drawingIsActive,
drawingIsActive: data.drawingIsActive,
mapdrawing: data.mapDrawingId,
mapdrawing: data.mapDrawingId,
 
timestamp: Date.now(),
});
});
await this.mapDrawHistoryRepository.insert(history);
await this.mapDrawHistoryRepository.insert(history);
return await this.mapDrawingRepository.save(drawing);
return await this.mapDrawingRepository.save(drawing);
Loading