freenowtech / freenowtech/phrase-java-client

Branch not used when checking out locale

Đang mở
#35 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
7
Fork
7
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.