Skip to content

Commit 14fc81e

Browse files
JacobCoffeeclaude
andcommitted
fix: correct ForumConfigService repository_type
Fixed bug where ForumConfigService was incorrectly using AllowedUsersConfigRepository instead of ForumConfigRepository. This would cause ForumConfig CRUD operations to fail. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 9e5550b commit 14fc81e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/api/src/byte_api/domain/guilds/services.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ class ForumConfigRepository(SQLAlchemyAsyncRepository[ForumConfig]):
133133
class ForumConfigService(SQLAlchemyAsyncRepositoryService[ForumConfig]):
134134
"""Handles basic operations for the guilds' Forum config."""
135135

136-
repository_type = AllowedUsersConfigRepository
136+
repository_type = ForumConfigRepository
137137
match_fields = ["guild_id"]
138138

139139
async def to_model(self, data: ModelDictT[ForumConfig], operation: str | None = None) -> ForumConfig:

0 commit comments

Comments
 (0)