11 lines
218 B
TypeScript
11 lines
218 B
TypeScript
|
import { baseMessage } from "./baseMessage";
|
||
|
|
||
|
/**
|
||
|
* Creates a response for a bad request
|
||
|
*
|
||
|
* @returns the bad request message
|
||
|
*/
|
||
|
export function badRequest(message: string) {
|
||
|
return baseMessage(true, message);
|
||
|
}
|