Skip to content

Commit 9e283be

Browse files
committed
fix: change get to post
1 parent 7f59064 commit 9e283be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/spotify/router.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def get_current_device(
2626
)
2727

2828

29-
@spotify_router.get("/device/next")
29+
@spotify_router.post("/device/next")
3030
@inject
3131
def next_device(
3232
spotify_service: SpotifyService = Depends(Provide[Container.spotify_service])
@@ -45,7 +45,7 @@ def next_device(
4545
)
4646

4747

48-
@spotify_router.get("/device/previous")
48+
@spotify_router.post("/device/previous")
4949
@inject
5050
def previous_device(
5151
spotify_service: SpotifyService = Depends(Provide[Container.spotify_service])

0 commit comments

Comments
 (0)