fixing naming

This commit is contained in:
Kfir Dayan 2024-01-09 10:23:57 +02:00
parent 3c9e7bca64
commit 07a49badda
2 changed files with 3 additions and 3 deletions

4
app.py
View file

@ -10,7 +10,7 @@ from flask_jwt_extended.exceptions import NoAuthorizationError
from jwt.exceptions import InvalidTokenError
from datetime import timedelta
from flask_apscheduler import APScheduler
from services.EventNotifyerService import EventNotifyerServer
from services.EventNotifyerService import EventNotifyerService
class App:
def __init__(self):
@ -65,7 +65,7 @@ class App:
def locate_upcoming_events(self):
with self.app.app_context():
print(EventNotifyerServer.locate_upcoming_events())
print(EventNotifyerService.locate_upcoming_events())
def run(self):
with self.app.app_context():

View file

@ -2,7 +2,7 @@
#this class will have a function that locates the upcomming events Using the Event service.
from services.EventService import EventService
class EventNotifyerServer:
class EventNotifyerService:
def __init__(self):
pass