refactor: change endpoint name
This commit is contained in:
parent
b7b65a966b
commit
c18ddd6985
1 changed files with 1 additions and 1 deletions
|
|
@ -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[] },
|
||||||
) {
|
) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue