|
|
@ -48,7 +48,7 @@ router.post('/', (req, res, next) => {
|
|
|
|
req.file.timestamp = DateTime.now().toMillis();
|
|
|
|
req.file.timestamp = DateTime.now().toMillis();
|
|
|
|
|
|
|
|
|
|
|
|
// Save the timezone offset
|
|
|
|
// Save the timezone offset
|
|
|
|
req.file.timeoffset = req.headers['x-ass-timeoffset'] || "UTC+0";
|
|
|
|
req.file.timeoffset = req.headers['x-ass-timeoffset'] || 'UTC+0';
|
|
|
|
|
|
|
|
|
|
|
|
// Keep track of the token that uploaded the resource
|
|
|
|
// Keep track of the token that uploaded the resource
|
|
|
|
req.file.token = req.token;
|
|
|
|
req.file.token = req.token;
|
|
|
|