Add isActive field to challenge chains and update localization; implement functionality to toggle chain status in the UI, enhancing task management and user experience.
This commit is contained in:
@@ -77,7 +77,7 @@ export const api = createApi({
|
||||
|
||||
// Chains
|
||||
getChains: builder.query<ChallengeChain[], void>({
|
||||
query: () => '/challenge/chains',
|
||||
query: () => '/challenge/chains/admin',
|
||||
transformResponse: (response: { body: ChallengeChain[] }) => response.body,
|
||||
providesTags: ['Chain'],
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user