join queue
This commit is contained in:
@ -36,6 +36,9 @@ export const QueueApi = createApi({
|
||||
getQueueDetail: builder.query({
|
||||
query: (queueId: string | undefined) => `/${queueId}`,
|
||||
}),
|
||||
joinQueue: builder.mutation({
|
||||
query: (queueId: string) => `/${queueId}/join`,
|
||||
}),
|
||||
createQueue: builder.mutation({
|
||||
query: (data: CreateQueueRequest) => ({
|
||||
url: "/",
|
||||
|
||||
Reference in New Issue
Block a user