This commit is contained in:
Den Piligrim
2026-05-21 22:58:29 +03:00
parent 962544820f
commit 26f3bb2934
48 changed files with 2877 additions and 1170 deletions
+5
View File
@@ -21,6 +21,11 @@ export class NodesController {
return this.nodesService.checkPayload(dto);
}
@Post('detect-location')
detectLocation(@Body() body: { url: string }) {
return this.nodesService.detectLocation(body.url);
}
@Put(':id')
update(@Param('id') id: string, @Body() dto: UpdateNodeDto) {
return this.nodesService.update(id, dto);