mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
21 lines
465 B
JavaScript
Executable File
21 lines
465 B
JavaScript
Executable File
import { Controller } from "linebridge/dist/server"
|
|
import { Schematized } from "../../lib"
|
|
|
|
export default class PlaylistsController extends Controller {
|
|
//static useMiddlewares = ["withAuthentication"]
|
|
|
|
get = {
|
|
"/playlist/:id": async (req, res) => {
|
|
|
|
}
|
|
}
|
|
|
|
post = {
|
|
"/playlist/publish": {
|
|
middlewares: ["withAuthentication"],
|
|
fn: async (req, res) => {
|
|
|
|
}
|
|
}
|
|
}
|
|
} |