Skip to content

Commit

Permalink
fixed messaging service
Browse files Browse the repository at this point in the history
  • Loading branch information
Cameron Campbell authored and Cameron Campbell committed Aug 25, 2024
1 parent 8696731 commit 4385413
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "openblox",
"description": "Roblox API Wrapper For Both Classic And OpenCloud APIs.",
"type": "commonjs",
"version": "1.0.48",
"version": "1.0.49",
"license": "MIT",
"bugs": {
"url": "https://github.com/MightyPart/openblox/issues"
Expand Down
2 changes: 1 addition & 1 deletion src/apis/cloud/messaging/messaging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const addApiMethod = createApiGroup({ name: "Messaging", baseUrl: "https://apis.
export const publishMessage = addApiMethod(async <Message extends string | Record<any, any>>(
{ universeId, topic, message }: { universeId: Identifier, topic: string, message: Message }
): ApiMethod<"", true> => ({
path: `/v2/universes/${universeId}/topics/${topic}`,
path: `/v1/universes/${universeId}/topics/${topic}`,
method: "POST",
body: { message: JSON.stringify(message) },
name: "publishMessage",
Expand Down

0 comments on commit 4385413

Please sign in to comment.