From 2187078f5251140395de4e5c3499364c9da3de3e Mon Sep 17 00:00:00 2001 From: nkan-aot2 <156717133+nkan-aot2@users.noreply.github.com> Date: Fri, 6 Dec 2024 14:17:16 -0800 Subject: [PATCH] fetch programarea from foi db in document service to fix programareaid out of sync issue --- .../DocumentServices/services/dal/documentpageflag.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/computingservices/DocumentServices/services/dal/documentpageflag.py b/computingservices/DocumentServices/services/dal/documentpageflag.py index f492d1038..3cd7299a9 100644 --- a/computingservices/DocumentServices/services/dal/documentpageflag.py +++ b/computingservices/DocumentServices/services/dal/documentpageflag.py @@ -1,4 +1,4 @@ -from utils import getdbconnection +from utils import getdbconnection, getfoidbconnection import logging import json @@ -34,7 +34,7 @@ def get_all_pageflags(cls, ignoreflags): @classmethod def get_all_programareas(cls): - conn = getdbconnection() + conn = getfoidbconnection() programareas = {} try: cursor = conn.cursor()