Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

changePassword

import { changePassword } from "https://raw.githubusercontent.com/yourfriendoss/Monolith/main/src/routes/auth.ts";

Change the password of a user. Has to be a POST request, containing JSON data. Headers don't matter.

async function changePassword(req: Request): Promise<Response>;
§
changePassword(req: Request): Promise<Response>
[src]

§Parameters

§
req: Request
[src]

§Return Type

§
Promise<Response>
[src]

Returns a status code.