refactor: change endpoint name

This commit is contained in:
Methapon2001 2025-04-01 09:07:04 +07:00
parent b7b65a966b
commit c18ddd6985

View file

@ -471,7 +471,7 @@ export class BackupController extends Controller {
).then(async (r) => jsonParseOrPlainText(await r.text())); ).then(async (r) => jsonParseOrPlainText(await r.text()));
} }
@Post("notify-backup") @Post("notify")
async notifyBackup( async notifyBackup(
@Body() payload: { message: string; userId?: string | string[]; roles?: string | string[] }, @Body() payload: { message: string; userId?: string | string[]; roles?: string | string[] },
) { ) {