Skip to content

Commit

Permalink
chore: Fix slug conflict in docs (#2704)
Browse files Browse the repository at this point in the history
`/export` is now used for both, operation and tag.

Proper fix for tolgee/documentation#756.

Co-authored-by: StaNov <[email protected]>
  • Loading branch information
StaNov and StaNov authored Nov 20, 2024
1 parent da00a61 commit b78779f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class V2ExportController(
@Operation(summary = "Export data")
@RequiresProjectPermissions([Scope.TRANSLATIONS_VIEW])
@AllowApiAccess
fun export(
fun exportData(
@ParameterObject params: ExportParams,
): ResponseEntity<StreamingResponseBody> {
params.languages =
Expand All @@ -74,7 +74,7 @@ class V2ExportController(
fun exportPost(
@RequestBody params: ExportParams,
): ResponseEntity<StreamingResponseBody> {
return export(params)
return exportData(params)
}

private fun getZipHeaders(projectName: String): HttpHeaders {
Expand Down

0 comments on commit b78779f

Please sign in to comment.