Fix WebHook controller

Created on 14 December 2023, about 1 year ago
Updated 24 June 2024, 6 months ago

Problem/Motivation

When using the current Webhook that lives under /tmgmt_memsource_callback you will just see an error because of wrong dependency injection and once you fixed that you will get 404 errors since the project cannot be found.

Steps to reproduce

  1. Create new Webhook on https://cloud.memsource.com/web/webHook/create
  2. Set URL to https://DRUPAL_HOST/tmgmt_memsource_callback
  3. Enable Job status changed event
  4. Request translation for content
  5. Once the job is completed it fails to call the Webhook

Proposed resolution

  1. Fix dependency injection
  2. Use uid instead of id because that is what is being stored in the database (see here
πŸ› Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany yannickoo Berlin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024