mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-18 19:00:54 -04:00
chore: remove unused api endpoints (#45085)
* chore: remove /refetch-user-completed-challenges * chore: remove /update-my-theme Theme changes are handled by /update-user-flag I left 'update-my-theme' in the blocklist to allow for future use. * chore: remove /certificate/verify-can-claim-cert The client has not been using this for several weeks * feat: return 410 for redundant endpoints * chore: order endpoints
This commit is contained in:
committed by
GitHub
parent
d41433767a
commit
bc7cdf6c33
@@ -1,9 +0,0 @@
|
||||
export const themes = {
|
||||
night: 'night',
|
||||
default: 'default'
|
||||
};
|
||||
|
||||
export const invertTheme = currentTheme =>
|
||||
!currentTheme || currentTheme === themes.default
|
||||
? themes.night
|
||||
: themes.default;
|
||||
Reference in New Issue
Block a user