mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed API test case for Import/Export Servers.
This commit is contained in:
@@ -12,11 +12,10 @@
|
|||||||
import os
|
import os
|
||||||
|
|
||||||
from flask import current_app, url_for
|
from flask import current_app, url_for
|
||||||
from flask_security import current_user, login_required
|
from flask_security import current_user
|
||||||
from werkzeug.exceptions import InternalServerError
|
from werkzeug.exceptions import InternalServerError
|
||||||
|
|
||||||
|
|
||||||
@login_required
|
|
||||||
def get_storage_directory():
|
def get_storage_directory():
|
||||||
import config
|
import config
|
||||||
if config.SERVER_MODE is not True:
|
if config.SERVER_MODE is not True:
|
||||||
|
|||||||
Reference in New Issue
Block a user