Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TM-1641] User locale switching has moved to v3. #662

Merged
merged 1 commit into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions app/Http/Controllers/V2/UserLocaleController.php

This file was deleted.

20 changes: 0 additions & 20 deletions app/Http/Requests/V2/UserLocaleRequest.php

This file was deleted.

22 changes: 0 additions & 22 deletions openapi-src/V2/paths/Users/post-v2-users-locale.yml

This file was deleted.

3 changes: 0 additions & 3 deletions openapi-src/V2/paths/_index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2808,9 +2808,6 @@
/v2/site-polygon/{uuid}/make-active:
put:
$ref: './Polygons/put-v2-site-polygon-uuid-make-active.yml'
/v2/users/locale:
patch:
$ref: './Users/post-v2-users-locale.yml'
/v2/terrafund/clip-polygons/polygon/{uuid}:
post:
$ref: './Terrafund/post-v2-terrafund-clip-polygons-polygon-uuid.yml'
Expand Down
24 changes: 0 additions & 24 deletions resources/docs/swagger-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99259,30 +99259,6 @@ paths:
type: boolean
version_name:
type: string
/v2/users/locale:
patch:
summary: Updates user locale
operationId: post-v2-users-locale
tags:
- V2 Locale
parameters:
- in: body
name: locale
required: true
description: 'locale used could be one of en-US,es-MX,fr-FR,pt-BR'
schema:
type: object
properties:
locale:
type: string
responses:
'200':
description: OK
schema:
type: object
properties:
message:
type: string
'/v2/terrafund/clip-polygons/polygon/{uuid}':
post:
summary: Clip Overlapping Polygons by Polygon
Expand Down
3 changes: 0 additions & 3 deletions routes/api_v2.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@
use App\Http\Controllers\V2\User\CompleteActionController;
use App\Http\Controllers\V2\User\IndexMyActionsController;
use App\Http\Controllers\V2\User\UpdateMyBannersController;
use App\Http\Controllers\V2\UserLocaleController;
use App\Http\Controllers\V2\Workdays\GetWorkdaysForEntityController;
use App\Http\Middleware\ModelInterfaceBindingMiddleware;
use App\Models\V2\AuditableModel;
Expand Down Expand Up @@ -792,5 +791,3 @@ function () {
});

Route::get('/type-entity', EntityTypeController::class);

Route::patch('/users/locale', UserLocaleController::class);
Loading