aboutsummaryrefslogtreecommitdiff
path: root/captain/external.f90
diff options
context:
space:
mode:
Diffstat (limited to 'captain/external.f90')
-rw-r--r--captain/external.f908
1 files changed, 7 insertions, 1 deletions
diff --git a/captain/external.f90 b/captain/external.f90
index 6fd848c..766bd2e 100644
--- a/captain/external.f90
+++ b/captain/external.f90
@@ -1040,7 +1040,7 @@ contains
end if
if(associated(fullpath)) then
-
+
! Write the file
call write_log("Storing titan file to "//trim(fullpath), LOG_DEBUG)
@@ -1050,6 +1050,12 @@ contains
call resp%set_body_contents(RESPONSE_JSON_OKAY)
resp%body_mimetype = "text/plain"
+ if(req%q%has_key("job")) then
+ call write_log("Ok, log")
+ call report_upload(req)
+ call write_log("Upload logged?")
+ end if
+
else
resp%code = GEMINI_CODE_TEMPFAIL