mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixes# 1210 - Send the columns SQL with proper mime type.
This commit is contained in:
committed by
Ashesh Vashi
parent
40ab0b7c88
commit
ab9f63d960
@@ -820,7 +820,7 @@ class ColumnsView(PGChildNodeView, DataTypeReader):
|
||||
data=data, conn=self.conn)
|
||||
SQL = sql_header + '\n\n' + SQL
|
||||
|
||||
return SQL
|
||||
return ajax_response(response=SQL.strip('\n'))
|
||||
|
||||
except Exception as e:
|
||||
return internal_server_error(errormsg=str(e))
|
||||
|
||||
Reference in New Issue
Block a user