Skip to content

Commit

Permalink
Merge pull request #28 from Global-Tags/development
Browse files Browse the repository at this point in the history
Don't ignore uuid parameters in note requests
  • Loading branch information
RappyTV authored Nov 19, 2024
2 parents 13b7699 + ac3f266 commit e394ce2
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ public void getNotes(UUID uuid, Consumer<ApiResponse<List<PlayerNote>>> consumer
new ApiRequest<>(
api,
"GET",
Routes.notes(api.getClientUUID()),
Routes.notes(uuid),
emptyBody,
NoteSchema[].class
).sendRequestAsync((response) -> {
Expand Down Expand Up @@ -631,7 +631,7 @@ public void createNote(UUID uuid, String note, Consumer<ApiResponse<String>> con
new ApiRequest<>(
api,
"POST",
Routes.notes(api.getClientUUID()),
Routes.notes(uuid),
Map.of("note", note),
MessageSchema.class
).sendRequestAsync((response) -> {
Expand Down Expand Up @@ -664,7 +664,7 @@ public void getNote(UUID uuid, String noteId, Consumer<ApiResponse<PlayerNote>>
new ApiRequest<>(
api,
"GET",
Routes.note(api.getClientUUID(), noteId),
Routes.note(uuid, noteId),
emptyBody,
NoteSchema.class
).sendRequestAsync((response) -> {
Expand Down Expand Up @@ -707,7 +707,7 @@ public void deleteNote(UUID uuid, String noteId, Consumer<ApiResponse<String>> c
new ApiRequest<>(
api,
"DELETE",
Routes.note(api.getClientUUID(), noteId),
Routes.note(uuid, noteId),
emptyBody,
MessageSchema.class
).sendRequestAsync((response) -> {
Expand Down

0 comments on commit e394ce2

Please sign in to comment.