chore(contributions): remove unused /api/contributions/options endpoint
This commit is contained in:
parent
64a31b51a5
commit
50a1ffe735
1 changed files with 0 additions and 19 deletions
|
|
@ -1,19 +0,0 @@
|
|||
// Get available contribution options
|
||||
import { getContributionOptions } from '../../config/contributions.js'
|
||||
|
||||
export default defineEventHandler(async (event) => {
|
||||
try {
|
||||
const options = getContributionOptions()
|
||||
|
||||
return {
|
||||
success: true,
|
||||
options
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('Error fetching contribution options:', error)
|
||||
throw createError({
|
||||
statusCode: 500,
|
||||
statusMessage: 'Failed to fetch contribution options'
|
||||
})
|
||||
}
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue