diff --git a/src/traffcap/repositories/inbound_request_repository.py b/src/traffcap/repositories/inbound_request_repository.py index 1e9108fe..21faff84 100644 --- a/src/traffcap/repositories/inbound_request_repository.py +++ b/src/traffcap/repositories/inbound_request_repository.py @@ -21,7 +21,7 @@ async def store_request( endpoint_code, request ) - await session.add(InboundRequestModel(**new_inbound_request.model_dump())) + session.add(InboundRequestModel(**new_inbound_request.model_dump())) await session.commit() @classmethod diff --git a/src/traffcap/repositories/rule_repository.py b/src/traffcap/repositories/rule_repository.py index 3fa3e86e..3ef54132 100644 --- a/src/traffcap/repositories/rule_repository.py +++ b/src/traffcap/repositories/rule_repository.py @@ -32,7 +32,7 @@ async def get_all_rules(cls) -> List[Rule]: async def create_rule(cls, rule: str = ".*") -> Optional[Rule]: async with cls.session() as session: new_rule = RuleModel(rule=rule) - await session.add(new_rule) + session.add(new_rule) await session.commit() return Rule.model_validate( @@ -44,7 +44,7 @@ async def create_rule(cls, rule: str = ".*") -> Optional[Rule]: @classmethod async def delete_rule_by_id(cls, rule_id: int) -> None: async with cls.session() as session: - await session.delete( + session.delete( await session.get(RuleModel, rule_id) ) await session.commit() diff --git a/src/traffcap/repositories/user_repository.py b/src/traffcap/repositories/user_repository.py index 29b3fb79..9f2b06e9 100644 --- a/src/traffcap/repositories/user_repository.py +++ b/src/traffcap/repositories/user_repository.py @@ -11,7 +11,7 @@ class UserRepository(Repository): async def add_a_test_user(cls) -> Optional[User]: user = None async with cls.session() as session: - await session.add( + session.add( UserModel( email="centurix@gmail.com", fullname="Chris Read" diff --git a/src/traffcap/spa/public/favicon.ico b/src/traffcap/spa/public/favicon.ico index ae7bbdb7..59d8a097 100644 Binary files a/src/traffcap/spa/public/favicon.ico and b/src/traffcap/spa/public/favicon.ico differ diff --git a/src/traffcap/spa/public/icons/favicon-128x128.png b/src/traffcap/spa/public/icons/favicon-128x128.png index 14011761..581001bb 100644 Binary files a/src/traffcap/spa/public/icons/favicon-128x128.png and b/src/traffcap/spa/public/icons/favicon-128x128.png differ diff --git a/src/traffcap/spa/public/icons/favicon-16x16.png b/src/traffcap/spa/public/icons/favicon-16x16.png index 679063a3..aa43c821 100644 Binary files a/src/traffcap/spa/public/icons/favicon-16x16.png and b/src/traffcap/spa/public/icons/favicon-16x16.png differ diff --git a/src/traffcap/spa/public/icons/favicon-32x32.png b/src/traffcap/spa/public/icons/favicon-32x32.png index fd1fbc6f..3eaa0668 100644 Binary files a/src/traffcap/spa/public/icons/favicon-32x32.png and b/src/traffcap/spa/public/icons/favicon-32x32.png differ diff --git a/src/traffcap/spa/public/icons/favicon-96x96.png b/src/traffcap/spa/public/icons/favicon-96x96.png index e93b80a0..9d4bd01b 100644 Binary files a/src/traffcap/spa/public/icons/favicon-96x96.png and b/src/traffcap/spa/public/icons/favicon-96x96.png differ