13 lines
256 B
TypeScript
13 lines
256 B
TypeScript
|
import {success} from "../utils/resources";
|
||
|
import {version} from "../config";
|
||
|
import {Request, Response} from "express";
|
||
|
|
||
|
export function get (req: Request, res: Response): void {
|
||
|
success(
|
||
|
res,
|
||
|
{
|
||
|
version
|
||
|
}
|
||
|
);
|
||
|
}
|