Skip to content

Commit

Permalink
refactor(action-yaml): 🎉 update on handler at actions yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
gokhangunduz committed Dec 27, 2023
1 parent b76f7f4 commit 70110a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions app/src/functions/getRosTopicListFromCloud.function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import axios from "axios";
import env from "../providers/environment.provider";

export default async function GetRosTopicListFromCloud() {
const url: string = `${env.application.host}:${env.application.port}/topic`;

try {
const { data: response } = await axios.get(
`${env.application.host}:${env.application.port}/topic`
);
const { data: response } = await axios.get(url);

return response.data;
} catch (error) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "physical-robot-services",
"version": "0.1.5",
"version": "0.1.6",
"description": "Physical Robot Services",
"main": "app/app.ts",
"scripts": {
Expand Down

0 comments on commit 70110a2

Please sign in to comment.