Skip to content

Commit

Permalink
keep same name
Browse files Browse the repository at this point in the history
  • Loading branch information
rbi-aap committed Jun 3, 2024
1 parent cf5bcfa commit 391cf09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions newsroom/news_api/app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def base_exception_error(err):
self.register_error_handler(Exception, base_exception_error)


def create_app(config=None):
def get_app(config=None):
app = NewsroomNewsAPI(__name__, config=config)

def convert_to_syndicate(data, token, formatter):
Expand Down Expand Up @@ -227,7 +227,7 @@ def syndicate_parameters():
return app


app = create_app()
app = get_app()

if __name__ == '__main__':
host = '0.0.0.0'
Expand Down

0 comments on commit 391cf09

Please sign in to comment.