Skip to content

Commit 5219042

Browse files
HermanPlayCopilot
andauthored
Update package/service/contest_service.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 44b15f8 commit 5219042

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package/service/contest_service.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,9 @@ type ContestService interface {
8787
// RemoveParticipantsFromContest removes multiple users from contest participants (only accessible by contest collaborators with edit permission)
8888
RemoveParticipantsFromContest(db database.Database, currentUser *schemas.User, contestID int64, userIDs []int64) error
8989

90+
// GetContestTaskSettings retrieves settings for a specific task within a contest (only accessible by contest collaborators)
9091
GetContestTaskSettings(db database.Database, currentUser *schemas.User, contestID, taskID int64) (*schemas.ContestTaskSettings, error)
91-
92+
// EditContestTask updates settings for a specific task within a contest (only accessible by contest collaborators with edit permission)
9293
EditContestTask(db database.Database, currentUser *schemas.User, contestID, taskID int64, settings *schemas.ContestTaskSettings) (*schemas.ContestTaskSettings, error)
9394
}
9495

0 commit comments

Comments
 (0)