Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions shard.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ shards:

action-controller:
git: https://github.com/spider-gazelle/action-controller.git
version: 7.5.0
version: 7.5.1

active-model:
git: https://github.com/spider-gazelle/active-model.git
Expand Down Expand Up @@ -151,15 +151,15 @@ shards:

opentelemetry-api:
git: https://github.com/wyhaines/opentelemetry-api.cr.git
version: 0.5.1
version: 0.5.2+git.commit.77c9232ca6ff7de52529f309a0cb20b8459f7b20

opentelemetry-instrumentation:
git: https://github.com/wyhaines/opentelemetry-instrumentation.cr.git
version: 0.5.5+git.commit.83eace832dad20a71231e71a42258538b05fb193
version: 0.6.0+git.commit.6978cfe19aa590fb61fd7fdc0a25eb0c78674309

opentelemetry-sdk: # Overridden
git: https://github.com/wyhaines/opentelemetry-sdk.cr.git
version: 0.6.3+git.commit.470e34105727b039aee2bb3650e907bf6eefc971
version: 0.6.4+git.commit.c7237732135f6d0cab84abc6bb6d438c9f8f9d66

pars: # Overridden
git: https://github.com/spider-gazelle/pars.git
Expand All @@ -179,7 +179,7 @@ shards:

pg-orm:
git: https://github.com/spider-gazelle/pg-orm.git
version: 1.1.2+git.commit.9b340ee269cd4a10ed6c5b51235cbaf45fc380e1
version: 1.1.2+git.commit.7714bb4d3e57fadcfded9d2e17247b5d3506e379

place_calendar:
git: https://github.com/placeos/calendar.git
Expand All @@ -199,7 +199,7 @@ shards:

placeos-models:
git: https://github.com/placeos/models.git
version: 9.60.1
version: 9.61.0

placeos-resource:
git: https://github.com/place-labs/resource.git
Expand Down
6 changes: 4 additions & 2 deletions src/placeos-core/process_manager/local.cr
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,10 @@ module PlaceOS::Core

# Build remote core request
user_id = request.user_id
params = user_id ? "?user_id=#{user_id}" : nil
core_uri.path = "/api/core/v1/command/#{remote_module_id}/execute#{params}"
params = URI::Params.build do |query|
query.add("user_id", user_id) if user_id
end
core_uri.path = "/api/core/v1/command/#{remote_module_id}/execute?#{params}"
response = HTTP::Client.post(
core_uri,
headers: HTTP::Headers{"X-Request-ID" => "int-#{request.reply}-#{remote_module_id}-#{Time.utc.to_unix_ms}"},
Expand Down
Loading