Skip to content

Commit 1c615a3

Browse files
authored
Merge pull request #50 from fiatjaf/fix/sync-arg-order
Fix swapped upload/download arguments in sync handler
2 parents 0186c9b + 902e512 commit 1c615a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ func syncHandler(w http.ResponseWriter, r *http.Request) {
10681068
}
10691069
}
10701070

1071-
streamingSync(r.Context(), targetUser, remoteUrl, download, upload, w)
1071+
streamingSync(r.Context(), targetUser, remoteUrl, upload, download, w)
10721072
}
10731073

10741074
func nip05Handler(w http.ResponseWriter, r *http.Request) {

0 commit comments

Comments
 (0)