Skip to content

Commit

Permalink
change comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rickyrombo committed May 31, 2024
1 parent 364df48 commit c4d9cda
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/discovery-provider/src/api/v1/playlists.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ class GetPlaylistAccessInfo(Resource):
@record_metrics
@ns.doc(
id="Get Playlist Access Info",
description="Gets information regarding the given user's access, and any details needed to unlock access",
description="Gets the information necessary to access the playlist and what access the given user has.",
params={"playlist_id": "A Playlist ID"},
)
@ns.expect(current_user_parser)
Expand Down
2 changes: 1 addition & 1 deletion packages/discovery-provider/src/api/v1/tracks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1757,7 +1757,7 @@ class GetTrackAccessInfo(Resource):
@record_metrics
@ns.doc(
id="Get Track Access Info",
description="Gets information regarding the given user's access, and any details needed to unlock access",
description="Gets the information necessary to access the track and what access the given user has.",
params={"track_id": "A Track ID"},
)
@ns.expect(current_user_parser)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export class PlaylistsApi extends runtime.BaseAPI {

/**
* @hidden
* Gets information regarding the current user\'s access, and any details needed to unlock access
* Gets information necessary to access the playlist and what access the given user has.
*/
async getPlaylistAccessInfoRaw(params: GetPlaylistAccessInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccessInfoResponse>> {
if (params.playlistId === null || params.playlistId === undefined) {
Expand All @@ -131,7 +131,7 @@ export class PlaylistsApi extends runtime.BaseAPI {
}

/**
* Gets information regarding the current user\'s access, and any details needed to unlock access
* Gets information necessary to access the playlist and what access the given user has.
*/
async getPlaylistAccessInfo(params: GetPlaylistAccessInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccessInfoResponse> {
const response = await this.getPlaylistAccessInfoRaw(params, initOverrides);
Expand Down
4 changes: 2 additions & 2 deletions packages/libs/src/sdk/api/generated/default/apis/TracksApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export class TracksApi extends runtime.BaseAPI {

/**
* @hidden
* Gets whether the current user has access and any details needed to unlock access
* Gets the information necessary to access the track and what access the given user has.
*/
async getTrackAccessInfoRaw(params: GetTrackAccessInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccessInfoResponse>> {
if (params.trackId === null || params.trackId === undefined) {
Expand All @@ -249,7 +249,7 @@ export class TracksApi extends runtime.BaseAPI {
}

/**
* Gets whether the current user has access and any details needed to unlock access
* Gets the information necessary to access the track and what access the given user has.
*/
async getTrackAccessInfo(params: GetTrackAccessInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccessInfoResponse> {
const response = await this.getTrackAccessInfoRaw(params, initOverrides);
Expand Down

0 comments on commit c4d9cda

Please sign in to comment.