31ecc0cf4f
* resources/frontendResource.js * resources/taskResource.js * resources/versionResource.js Also some refactoring towards using promises with async / await.
12 lines
256 B
TypeScript
12 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
|
|
}
|
|
);
|
|
}
|