fix: update the response header of request to stp/execute routes

This commit is contained in:
2022-11-27 21:57:26 +05:00
parent 6b666d5554
commit 112431a1b7
3 changed files with 9 additions and 2 deletions
+2
View File
@@ -91,6 +91,8 @@ const execute = async (
}
)
req.res?.header(httpHeaders)
if (result instanceof Buffer) {
;(req as any).sasHeaders = httpHeaders
}