Skip to content

Commit

Permalink
fetch programarea from foi db in document service to fix programareai…
Browse files Browse the repository at this point in the history
…d out of sync issue
  • Loading branch information
nkan-aot2 authored Dec 6, 2024
1 parent 611b8bf commit 2187078
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from utils import getdbconnection
from utils import getdbconnection, getfoidbconnection
import logging
import json

Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 2187078

Please sign in to comment.