Make file created_at when file upload is complete

This commit is contained in:
Luc Didry 2015-10-03 22:03:50 +02:00
parent fbbbcab403
commit 26787d9cb1
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ sub upload {
if (($json->{part} + 1) == $json->{total}) {
$f->complete(1);
$f->created_at(time);
$c->provisioning;
}