freenowtech / freenowtech/phrase-java-client

Branch not used when checking out locale

Ouverte
#35 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Java
Étoiles
7
Forks
7
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Hi there, hope this project is still maintained?

I noticed I always get a 404 exception when trying to download a branch of any project, e.g.
```
PhraseAppSyncTask task =
new PhraseAppSyncTask(tok, id, Collections.singletonList("my-branch-name"), "https://api.phraseapp.com");
task.run();
```
Reason is the `branch` parameter is never used:
https://github.com/freenowtech/phrase-java-client/blob/master/src/main/java/com/freenow/apis/phrase/api/locale/PhraseLocaleAPI.java#L92

Fix attached

Best regards
Tom

[use-branch-params.patch](https://github.com/user-attachments/files/18749528/use-branch-params.patch)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.